X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/fbecd2ab59d461fbd943670338a5def4157e3364..284bc49c832ffe6280907cb6c7788fa06bc58c7c:/NEWS?ds=inline diff --git a/NEWS b/NEWS index 5b6ea0c5..62f834b6 100644 --- a/NEWS +++ b/NEWS @@ -198,6 +198,13 @@ GNU Bison NEWS bar.y: error: shift/reduce conflicts: 1 found, 0 expected bar.y: error: reduce/reduce conflicts: 2 found, 0 expected +*** Useless precedence + + Bison now warns about symbols with a declared precedence but no declared + associativity (i.e. declared with %precedence), and whose precedence is + never used. In that case, the symbol can be safely declared with %token + instead, without modifying the parsing tables. + ** Additional yylex/yyparse arguments The new directive %param declares additional arguments to both yylex and