[YANGTOOLS-905] Detect ANTLR lexer errors Created: 19/Sep/18 Updated: 10/Apr/22 Resolved: 19/Oct/18 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.0.12, 2.0.6.4, 2.1.3 |
| Type: | Improvement | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
During work on YANGTOOLS-887 it became clear that our current use of ANTLR could be improved, because we only attach ANTLRErrorListener to parsers, but not lexers. This leads to the problem of us failing to report lexer errors and we only report parser errors which come from the failure to lex. Improve this by also attaching listeners to lexers, too. |