mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-14 14:53:03 +00:00
lalr1.cc: fix exception safety
lalr1.cc does not reclaim its memory when ended by an exception. Reported by Oleksii Taran: http://lists.gnu.org/archive/html/help-bison/2012-09/msg00000.html * data/lalr1.cc (yyparse): Protect the whole yyparse by a try-catch block that cleans the stack and the lookahead.
This commit is contained in:
1
THANKS
1
THANKS
@@ -80,6 +80,7 @@ Nicolas Tisserand nicolas.tisserand@epita.fr
|
||||
Noah Friedman friedman@gnu.org
|
||||
Odd Arild Olsen oao@fibula.no
|
||||
Oleg Smolsky oleg.smolsky@pacific-simulators.co.nz
|
||||
Oleksii Taran oleksii.taran@gmail.com
|
||||
Paolo Bonzini bonzini@gnu.org
|
||||
Pascal Bart pascal.bart@epita.fr
|
||||
Paul Eggert eggert@cs.ucla.edu
|
||||
|
||||
Reference in New Issue
Block a user