X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/34136e65fc7bd6babcfedcbfcfdca3b9feb10f1d..1d280c0999ada8fc3fb0a96d01530948642f4444:/NEWS diff --git a/NEWS b/NEWS index 5c2783f9..293e2dfd 100644 --- a/NEWS +++ b/NEWS @@ -24,6 +24,15 @@ Bison News Also, it is possible to add code to the parser's constructors using "%code init" and "%define init_throws". +** C++ skeleton improvements + + The C++ parser features a syntax_error exception, which can be + thrown from the scanner or from user rules to raise syntax errors. + This facilitates reporting errors caught in sub-functions (e.g., + rejecting too large integral literals from a conversion function + used by the scanner, or rejecting invalid combinations from a + factory invoked by the user actions). + ** Variable api.tokens.prefix The variable api.tokens.prefix changes the way tokens are identified in @@ -66,6 +75,8 @@ Bison News ** Minor improvements have been made to the manual. +** YYBACKUP works as expected. + * Changes in version 2.5 (2011-05-14): ** Grammar symbol names can now contain non-initial dashes: