yacc: issue warnings, not errors, for Bison extensions

Reported by Kiyoshi Kanazawa.
http://lists.gnu.org/archive/html/bug-bison/2019-01/msg00029.html

* src/getargs.c (getargs): Let --yacc imply -Wyacc, not -Werror=yacc.
* tests/input.at: Adjust.
* doc/bison.tex (Bison Options): Document.
This commit is contained in:
Akim Demaille
2019-01-27 06:38:27 +01:00
parent 59a108c0a6
commit 8b0b295569
4 changed files with 28 additions and 24 deletions

View File

@@ -708,7 +708,7 @@ getargs (int argc, char *argv[])
break;
case 'y':
warning_argmatch ("error=yacc", 0, 6);
warning_argmatch ("yacc", 0, 0);
yacc_loc = command_line_location ();
break;