]> git.saurik.com Git - bison.git/commit - tests/c++.at
lalr1.cc: check exception safety of error handling
authorAkim Demaille <akim@lrde.epita.fr>
Tue, 25 Sep 2012 12:18:04 +0000 (14:18 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Sat, 6 Oct 2012 17:53:45 +0000 (19:53 +0200)
commite8b86af83dd7dab9bc5c612583d5443c55ee2bb0
treefc7ee317cde653296420210f9187ecabfb307bb3
parent25a6ad2f109cfc8a4683d406054141d1a2210b36
lalr1.cc: check exception safety of error handling

* tests/c++.at (Exception safety): Don't use swap here, it
is useless.
Cover more test cases: yyerror, YYERROR, YYABORT, and
error recovery.
(Object): Instead of just keeping a counter of instances, keep
a list of them.
tests/c++.at