X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/199a2d6d729f596ed3652a5ac0185c5afa025023..a6552c5d2a559399b2ca2619159e3de14cff4468:/NEWS?ds=sidebyside diff --git a/NEWS b/NEWS index a9922c09..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