lalr1.cc: document exception safety

* NEWS: here.
* doc/bison.texi (Destructor Decl, C++ Parser Interface): and there.
This commit is contained in:
Akim Demaille
2012-10-01 11:41:26 +02:00
parent e8b86af83d
commit d3e4409ad1
2 changed files with 18 additions and 0 deletions

9
NEWS
View File

@@ -39,6 +39,15 @@ GNU Bison NEWS
will use YY_CALC_LIB_PARSE_H_INCLUDED as guard.
** Exception safety (lalr1.cc)
The parse function now catches exceptions, uses the %destructors to
release memory (the lookahead symbol and the symbols pushed on the stack)
before rethrowing the exception.
This feature is somewhat experimental. User feedback would be
appreciated.
* Noteworthy changes in release 2.6.2 (2012-08-03) [stable]
** Bug fixes