Closed clementval closed 7 years ago
Enhance the error message for the CLAW parser written with ANTLR
Now they look like that
line 1:10 no viable alternative at input '('
They should be more precise with information like the expecting token.
line 1:10 expecting IDENTIFIER but found (
Needs to use the information from getExpectedTokens() from the RecognitionException
getExpectedTokens()
RecognitionException
Enhance the error message for the CLAW parser written with ANTLR
Now they look like that
line 1:10 no viable alternative at input '('
They should be more precise with information like the expecting token.
line 1:10 expecting IDENTIFIER but found (