antlr4 icon indicating copy to clipboard operation
antlr4 copied to clipboard

Go runtime: Clarify why mismatched input occurred by showing recognized token type

Open wbbradley opened this issue 4 years ago • 1 comments

Users are encountering the mismatched input error and this is by design. However, the error message could be constructed to simplify the user experience. This PR suggests a fix in the Go runtime to always show the token type.

Example issue that folks are encountering: https://stackoverflow.com/questions/16364046/antlr4-mismatched-input

wbbradley avatar Dec 09 '20 04:12 wbbradley

(Haven't had a chance to look at this error. Will be back at some point to do so.)

wbbradley avatar Dec 14 '20 04:12 wbbradley