]> git.saurik.com Git - bison.git/commit - NEWS
lalr1.cc: also handle syntax_error when calling yylex.
authorAkim Demaille <demaille@gostai.com>
Thu, 30 Jun 2011 12:10:21 +0000 (14:10 +0200)
committerAkim Demaille <demaille@gostai.com>
Fri, 10 Feb 2012 08:17:45 +0000 (09:17 +0100)
commita6552c5d2a559399b2ca2619159e3de14cff4468
tree0639090eaa684ee3479ad3af1df1343b6d845431
parent199a2d6d729f596ed3652a5ac0185c5afa025023
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.
NEWS
data/lalr1.cc
doc/bison.texinfo
tests/c++.at