X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/8ea6525e3a092b76256fbed7d6edbb0a1861aee1..d949eefdd3cfa8087e3c7541a357bfd40d9ddcd8:/NEWS diff --git a/NEWS b/NEWS index 4b7caff8..346c4da4 100644 --- a/NEWS +++ b/NEWS @@ -16,11 +16,11 @@ GNU Bison NEWS *** Enhancements of the -Werror option The -Werror=CATEGORY option is now recognized, and will treat specified - warnings as errors. The warnings need not have been explictly activated - using the -W option, this is similar to what gcc 4.7 does. + warnings as errors. The warnings need not have been explicitly activated + using the -W option, this is similar to what GCC 4.7 does. For example, given the following command line, Bison will treat both - warnings related to POSIX Yacc incompatiblities and S/R conflicts as + warnings related to POSIX Yacc incompatibilities and S/R conflicts as errors (and only those): $ bison -Werror=yacc,error=conflicts-sr input.y @@ -47,7 +47,7 @@ GNU Bison NEWS In the case of warnings treated as errors, the prefix is changed from "warning: " to "error: ", and the suffix is displayed, in a manner similar - to gcc, as [-Werror=CATEGORY]. + to GCC, as [-Werror=CATEGORY]. For instance, where the previous version of Bison would report (and exit with failure): @@ -2182,7 +2182,7 @@ along with this program. If not, see . LocalWords: Automake TMPDIR LESSEQ ylwrap endif yydebug YYTOKEN YYLSP ival hh LocalWords: extern YYTOKENTYPE TOKENTYPE yytokentype tokentype STYPE lval pdf LocalWords: lang yyoutput dvi html ps POSIX lvalp llocp Wother nterm arg init - LocalWords: TOK calc yyo fval + LocalWords: TOK calc yyo fval Wconflicts Local Variables: mode: outline