diff --git a/include/Ark/Compiler/Macros/Executor.hpp b/include/Ark/Compiler/Macros/Executor.hpp index 1b46ea517..b3c5005a0 100644 --- a/include/Ark/Compiler/Macros/Executor.hpp +++ b/include/Ark/Compiler/Macros/Executor.hpp @@ -71,14 +71,6 @@ namespace Ark::internal */ void setWithFileAttributes(const Node origin, Node& output, const Node& macro); - /** - * @brief Return std::nullopt if the function isn't registered, otherwise return its node - * - * @param name function name - * @return std::optional - */ - [[nodiscard]] std::optional lookupDefinedFunction(const std::string& name) const; - /** * @brief Find the nearest macro matching a giving name * diff --git a/src/arkreactor/Compiler/AST/Node.cpp b/src/arkreactor/Compiler/AST/Node.cpp index 3766b5253..be9d1039e 100644 --- a/src/arkreactor/Compiler/AST/Node.cpp +++ b/src/arkreactor/Compiler/AST/Node.cpp @@ -262,10 +262,6 @@ namespace Ark::internal case NodeType::Unused: os << "Unused:" << string(); break; - - default: - os << "~\\._./~"; - break; } return os; } diff --git a/src/arkreactor/Compiler/Macros/Executor.cpp b/src/arkreactor/Compiler/Macros/Executor.cpp index 5e0fb7171..c3c23ad81 100644 --- a/src/arkreactor/Compiler/Macros/Executor.cpp +++ b/src/arkreactor/Compiler/Macros/Executor.cpp @@ -16,11 +16,6 @@ namespace Ark::internal output.setPos(origin.line(), origin.col()); } - std::optional MacroExecutor::lookupDefinedFunction(const std::string& name) const - { - return m_processor->lookupDefinedFunction(name); - } - const Node* MacroExecutor::findNearestMacro(const std::string& name) const { return m_processor->findNearestMacro(name);