From 5fdcef4dd7efa5eb9a9aeb8eacea8c0541cb584a Mon Sep 17 00:00:00 2001 From: hasslesstech Date: Mon, 5 Oct 2026 11:21:24 +0300 Subject: [PATCH] cleanup --- src/syntaxer.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) 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;