Open rscarson opened 9 months ago
Describe the bug Unmapped prefix operators panic at 'expected operator, found
For example "-1" panics with:
Expected operator, found int_literal
Instead of something like expected operator, found PREFIX_NEG
PREFIX_NEG
To Reproduce
Expected behavior The error message should report the correct symbol in the grammar, not the next one
Describe the bug Unmapped prefix operators panic at 'expected operator, found
For example "-1" panics with:
Instead of something like expected operator, found
PREFIX_NEG
To Reproduce
Expected behavior The error message should report the correct symbol in the grammar, not the next one