cleanup
This commit is contained in:
+2
-9
@@ -5,14 +5,6 @@
|
||||
|
||||
namespace Syntax {
|
||||
|
||||
#if 0
|
||||
struct OpImportance
|
||||
{
|
||||
//int pos;
|
||||
int prio;
|
||||
};
|
||||
#endif
|
||||
|
||||
#if 0
|
||||
std::vector<SyntaxIssue> check_syntax(std::vector<Expression::Token>& tv);
|
||||
{
|
||||
@@ -21,7 +13,8 @@ std::vector<SyntaxIssue> check_syntax(std::vector<Expression::Token>& tv);
|
||||
#endif
|
||||
|
||||
|
||||
// get mop = Math OPerator index
|
||||
// get mop = Math OPerator location (=absolute index in std::vector<Expression::Token>)
|
||||
// mapper of 'priority vector index' -> 'token vector index'
|
||||
static int get_mop_location(const std::vector<Expression::Token>& v, int position)
|
||||
{
|
||||
int i = 0, l = v.size(), p = -1;
|
||||
|
||||
Reference in New Issue
Block a user