[grammar] update

This commit is contained in:
2021-04-13 11:25:39 +05:30
parent 88109924ed
commit ae57a1bcf2
2 changed files with 5 additions and 3 deletions

View File

@@ -68,7 +68,6 @@ outputStmt
NEWLINE: '\n' -> skip;
COMMENT: '//' ~[\r\n]* '\r'? '\n'? -> channel(HIDDEN);
ML_COMMENT: '/*' .*? '*/' ->channel(HIDDEN);
WS: [ \r\n] -> skip;
DEF: '#';
LOOPSTART: '[';
LOOPEND:']';
@@ -81,3 +80,6 @@ DEC: '-';
INC: '+';
LEFT: '<';
RIGHT: '>';
EVERYTHING_ELSE: . ->channel(HIDDEN);
WS: [ \r\n] -> skip;