diff options
author | Akim Demaille <demaille@gostai.com> | 2011-06-30 14:10:21 +0200 |
---|---|---|
committer | Akim Demaille <demaille@gostai.com> | 2012-02-10 09:17:45 +0100 |
commit | a6552c5d2a559399b2ca2619159e3de14cff4468 (patch) | |
tree | 0639090eaa684ee3479ad3af1df1343b6d845431 /tests/headers.at | |
parent | 199a2d6d729f596ed3652a5ac0185c5afa025023 (diff) | |
download | bison-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