Details
-
Improvement
-
Status: To Do
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Antlr's NoViableAltException is thrown when Antlr cannot figure out what to do when building the expression tree. This happens when the grammar is improperly posed.
For example:
> TO_UPPER(IN)
Where IN is a reserved phrase, but is not posed correctly.
This is basically an invalid syntax exception. But buried in the cause of a ParseException, it really is not helpful.
The shell should find the ParseException cause, and if it is this exception, output a better message