[11 - Antlr Builder] Add other changes

This commit is contained in:
2020-06-10 09:52:37 +02:00
parent 4a304d4955
commit ff8fbbec83
42 changed files with 136 additions and 4546 deletions

View File

@@ -86,7 +86,6 @@ expr2: expr3 (op='*' | op='/') expr -> ^($op expr3 expr)
expr3: op='-' num=number -> ^(UMINUS[op,"UMINUS"] $num)
| number | STRINGCONST | '('! expr^ ')'!;
// Conditions and comparison
compOp: '<' | '>' | '=';
cond: expr cond2;
cond2: compOp expr;