summaryrefslogtreecommitdiff
path: root/tests/headers.at
diff options
context:
space:
mode:
authorAkim Demaille <demaille@gostai.com>2011-06-30 14:10:21 +0200
committerAkim Demaille <demaille@gostai.com>2012-02-10 09:17:45 +0100
commita6552c5d2a559399b2ca2619159e3de14cff4468 (patch)
tree0639090eaa684ee3479ad3af1df1343b6d845431 /tests/headers.at
parent199a2d6d729f596ed3652a5ac0185c5afa025023 (diff)
downloadbison-a6552c5d2a559399b2ca2619159e3de14cff4468.tar.gz
lalr1.cc: also handle syntax_error when calling yylex.
* data/lalr1.cc (parse): Catch syntax_error around yylex and forward them to errlab1. * tests/c++.at (Syntax error as exception): Check support for syntax exceptions raised by the scanner. * NEWS, doc/bison.texinfo: Document it.
Diffstat (limited to 'tests/headers.at')
0 files changed, 0 insertions, 0 deletions