summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorAkim Demaille <akim.demaille@gmail.com>2018-12-30 12:07:30 +0100
committerAkim Demaille <akim.demaille@gmail.com>2018-12-31 07:48:09 +0100
commit90a8537e6287f92fb3d5be0258a69247a742f12e (patch)
treed4cbcb39c2c54f0b858ec41f9d26cff180f10a92 /NEWS
parent6653c912da731e9a3a8ae6c3ebd499e42165e212 (diff)
downloadbison-90a8537e6287f92fb3d5be0258a69247a742f12e.tar.gz
glr.cc: support syntax_error exceptions
Kindly requested by Аскар Сафин (Askar Safin). http://lists.gnu.org/archive/html/bug-bison/2018-12/msg00033.html * data/skeletons/glr.c (b4_glr_cc_if): New. Use it. (yygetToken): Catch syntax_errors. * data/skeletons/glr.cc (YY_EXCEPTIONS): New. * tests/c++.at: Check it.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 49cc24c8..1e253c0f 100644
--- a/NEWS
+++ b/NEWS
@@ -147,6 +147,11 @@ GNU Bison NEWS
return parser::token::PAIR;
}
+*** C++: Syntax error exceptions in GLR
+
+ The glr.cc skeleton now supports syntax_error exceptions thrown from user
+ actions, or from the scanner.
+
*** More POSIX Yacc compatibility warnings
More Bison specific directives are now reported with -y or -Wyacc. This