Add multiline comments

This commit is contained in:
2020-10-01 19:46:39 +05:30
parent 278da25c0c
commit f01dc4cf97
2 changed files with 2 additions and 0 deletions

View File

@@ -67,6 +67,7 @@ outputStmt
NEWLINE: '\n' -> skip;
COMMENT: '//' ~[\r\n]* '\r'? '\n'? -> channel(HIDDEN);
ML_COMMENT: '/*' .*? '*/' ->channel(HIDDEN);
WS: [ \r\n] -> skip;
DEF: '#';
LOOPSTART: '[';