Commit Graph

3 Commits

Author SHA1 Message Date
Erez Shinan e7212261b2 Fixed examples for error reporting 2018-06-27 17:04:23 +03:00
Erez Shinan 5c6df8e825 Moved and restructured exceptions
* All exceptions are now under exceptions.py
* UnexpectedInput is now superclass of UnexpectedToken and UnexpectedCharacters,
  all of which support the get_context() and match_examples() methods.
2018-06-18 15:14:31 +03:00
Erez Shinan 599b80e30a Added example for error reporting with LALR 2018-04-18 12:37:57 +03:00