Add multiline comments
This commit is contained in:
@@ -67,6 +67,7 @@ outputStmt
|
|||||||
|
|
||||||
NEWLINE: '\n' -> skip;
|
NEWLINE: '\n' -> skip;
|
||||||
COMMENT: '//' ~[\r\n]* '\r'? '\n'? -> channel(HIDDEN);
|
COMMENT: '//' ~[\r\n]* '\r'? '\n'? -> channel(HIDDEN);
|
||||||
|
ML_COMMENT: '/*' .*? '*/' ->channel(HIDDEN);
|
||||||
WS: [ \r\n] -> skip;
|
WS: [ \r\n] -> skip;
|
||||||
DEF: '#';
|
DEF: '#';
|
||||||
LOOPSTART: '[';
|
LOOPSTART: '[';
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
//should print AAA
|
//should print AAA
|
||||||
|
/* This is a big comment :DDDDD */
|
||||||
(+65>)3
|
(+65>)3
|
||||||
<<<
|
<<<
|
||||||
(.>)3
|
(.>)3
|
Reference in New Issue
Block a user