add essential token preprocessing
This commit is contained in:
+3
-1
@@ -10,12 +10,14 @@ int main(int argc, char **argv)
|
||||
|
||||
std::vector<Expression::Token> tv = Parser::tokenize_input(argv[1]);
|
||||
|
||||
Syntax::pre_process(tv);
|
||||
|
||||
if (Syntax::check_syntax(tv))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Syntax::apply_corrections(tv);
|
||||
Syntax::post_process(tv);
|
||||
|
||||
std::vector<Expression::Operation> ov = Syntax::build_op_vector(tv);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user