diff --git a/src/syntaxer.cpp b/src/syntaxer.cpp index b281468..0468afc 100644 --- a/src/syntaxer.cpp +++ b/src/syntaxer.cpp @@ -5,14 +5,6 @@ namespace Syntax { -#if 0 -struct OpImportance -{ - //int pos; - int prio; -}; -#endif - #if 0 std::vector check_syntax(std::vector& tv); { @@ -21,7 +13,8 @@ std::vector check_syntax(std::vector& tv); #endif -// get mop = Math OPerator index +// get mop = Math OPerator location (=absolute index in std::vector) +// mapper of 'priority vector index' -> 'token vector index' static int get_mop_location(const std::vector& v, int position) { int i = 0, l = v.size(), p = -1;