forked from lalrpop/lalrpop
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Split apart UnrecognizedEOF error variant from UnrecognizedToken (lal…
…rpop#446) * Split apart UnrecognizedEOF error variant from UnrecognizedToken * Factor out fmt_expected function * Initial attempt at fixing codegen - Match on lookahead when returning error - Use last fixed symbol as location of UnrecognizedEOF - Use `Default::default()` when there are no fixed symbols (?) * Initial implementation of finding latest optional location * Fix UnrecognizedToken errors in `Some` test cases * Fix UnrecognizedEOF test cases * Fix parentheses around pattern error for 1.26 compatibility * Add basic test for UnrecognizedEOF (and hopefully trigger Travis build) * Fix emitted indentation and use travis_wait when testing
- Loading branch information
Showing
6 changed files
with
130 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters