summaryrefslogtreecommitdiffstats
path: root/parser.l
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2015-08-29 08:34:57 -0700
committerKaz Kylheku <kaz@kylheku.com>2015-08-29 08:34:57 -0700
commit0d6676975214c406ff4b773c004cdae12e2b063a (patch)
treecdec67ecf71e99f19a438f73a865facec09c6dd4 /parser.l
parentb9cfb7a7ad2cb64cba3d1863feee63338b49e5eb (diff)
downloadtxr-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