handle lexer errors in parser
This commit is contained in:
parent
2d0c688aa0
commit
49b0f214a6
|
@ -55,3 +55,4 @@ Integer : [0-9]+;
|
||||||
|
|
||||||
Comment : '//' ~[\n]* '\n' -> skip;
|
Comment : '//' ~[\n]* '\n' -> skip;
|
||||||
Whitespace : [ \t\r\n]+ -> skip;
|
Whitespace : [ \t\r\n]+ -> skip;
|
||||||
|
Unknown : .;
|
||||||
|
|
Loading…
Reference in a new issue