]> git.saurik.com Git - bison.git/commit - src/getargs.c
options: don't accept "error=" for -f and -r
authorAkim Demaille <akim@lrde.epita.fr>
Wed, 13 Feb 2013 16:29:42 +0000 (17:29 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Thu, 14 Feb 2013 14:00:51 +0000 (15:00 +0100)
commitc017f88fdedf409dc63ca63bab0b045ad23d0719
treed07b65ef3ab037bb8e1b450d1570fde95df3ebff
parent219458e22f163ede84daa71dfa98bab82a766954
options: don't accept "error=" for -f and -r

* src/getargs.c (warning_argmatch, warnings_argmatch, WARNINGS_ARGMATCH):
New.
Use them for -W/--warning.
They are copied from...
(flag_argmatch, flags_argmatch, FLAGS_ARGMATCH): these.
Simplify by removing the support for "error".
* tests/input.at (Invalid options): New.
* TODO (Laxism in Bison invocation arguments): Remove.
TODO
src/getargs.c
tests/input.at