diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2015-08-29 08:34:57 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2015-08-29 08:34:57 -0700 |
commit | 0d6676975214c406ff4b773c004cdae12e2b063a (patch) | |
tree | cdec67ecf71e99f19a438f73a865facec09c6dd4 /parser.l | |
parent | b9cfb7a7ad2cb64cba3d1863feee63338b49e5eb (diff) | |
download | txr-0d6676975214c406ff4b773c004cdae12e2b063a.tar.gz txr-0d6676975214c406ff4b773c004cdae12e2b063a.tar.bz2 txr-0d6676975214c406ff4b773c004cdae12e2b063a.zip |
Print parser error message for parse-time exceptions.
* parser.y (parse_once, parse): Catch error exceptions
coming out of yyparse, print message, then re-throw. This way we see
the file and line number near where that happened.
Diffstat (limited to 'parser.l')
0 files changed, 0 insertions, 0 deletions