]> git.saurik.com Git - bison.git/commit
Implement --warnings/-W.
authorAkim Demaille <akim@epita.fr>
Sun, 9 Jul 2006 17:01:22 +0000 (17:01 +0000)
committerAkim Demaille <akim@epita.fr>
Sun, 9 Jul 2006 17:01:22 +0000 (17:01 +0000)
commit7b42569e12a5b97dd785831d879c7423528b93d9
tree86a85e313fb7a74fc8a592d463c3eb51701d0fd0
parent3b452f4ea6f6e69ba90d93cf1bed2ef1437f5b29
Implement --warnings/-W.
* src/getargs.c (report_argmatch, trace_argmatch): Remove,
replaced by...
(flags_argmatch, FLAGS_ARGMATCH): this new function and macro.
Adjust callers.
* src/getargs.h, src/getargs.c (warnings, warnings_flags)
(warnings_args, warnings_types): New.
(getargs, short_options, long_options): Accept -W/--warnings.
Sort the options by alphabetical order, upper case letter right
before its lower case.
ChangeLog
src/getargs.c
src/getargs.h