handle lexer errors in parser

This commit is contained in:
Thomas Lindner 2023-01-05 21:22:28 +01:00
parent 2d0c688aa0
commit 49b0f214a6

View file

@ -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 : .;