news: style changes

* NEWS: Minor improvements.
This commit is contained in:
Akim Demaille
2012-08-22 12:31:41 +02:00
parent 2a8be426c3
commit 1f77b2e095

30
NEWS
View File

@@ -15,9 +15,9 @@ GNU Bison NEWS
*** Deprecated constructs *** Deprecated constructs
A new warning category, 'deprecated', is used to flag obsolete constructs The new 'deprecated' warning category flags obsolete constructs whose
whose support will be discontinued. It is enabled by default. These support will be discontinued. It is enabled by default. These warnings
warnings used to be reported as 'other' warnings. used to be reported as 'other' warnings.
*** Warning categories are now displayed *** Warning categories are now displayed
@@ -84,9 +84,9 @@ GNU Bison NEWS
** Java skeleton improvements ** Java skeleton improvements
The constants for token names were moved to the Lexer interface. The constants for token names were moved to the Lexer interface. Also, it
Also, it is possible to add code to the parser's constructors using is possible to add code to the parser's constructors using "%code init"
"%code init" and "%define init_throws". and "%define init_throws".
** C++ skeletons improvements ** C++ skeletons improvements
@@ -127,23 +127,23 @@ GNU Bison NEWS
** Variable api.namespace ** Variable api.namespace
The "namespace" variable is renamed "api.namespace". Backward The 'namespace' variable is renamed 'api.namespace'. Backward
compatibility is ensured, but upgrading is recommended. compatibility is ensured, but upgrading is recommended.
** Variable parse.error ** Variable parse.error
The variable error controls the verbosity of error messages. The This variable controls the verbosity of error messages. The use of the
use of the %error-verbose directive is deprecated in favor of %error-verbose directive is deprecated in favor of "%define parse.error
%define parse.error "verbose". verbose".
** Semantic predicates ** Semantic predicates
The new, experimental, semantic-predicate feature allows actions of The new, experimental, semantic-predicate feature allows actions of the
the form %?{ BOOLEAN-EXPRESSION }, which cause syntax errors (as for form "%?{ BOOLEAN-EXPRESSION }", which cause syntax errors (as for
YYERROR) if the expression evaluates to 0, and are evaluated immediately YYERROR) if the expression evaluates to 0, and are evaluated immediately
in GLR parsers, rather than being deferred. The result is that they in GLR parsers, rather than being deferred. The result is that they allow
allow the programmer to prune possible parses based on the values of the programmer to prune possible parses based on the values of run-time
run-time expressions. expressions.
* Noteworthy changes in release ?.? (????-??-??) [?] * Noteworthy changes in release ?.? (????-??-??) [?]