]> git.saurik.com Git - bison.git/commit - src/getargs.c
options: simplify the handling of -W
authorAkim Demaille <akim@lrde.epita.fr>
Wed, 13 Feb 2013 20:11:10 +0000 (21:11 +0100)
committerAkim Demaille <akim@lrde.epita.fr>
Thu, 14 Feb 2013 14:00:52 +0000 (15:00 +0100)
commit4a3c55cf1abd36bebf3058f67b130d0a17305db6
treea1953aa9041f207c87ed915fda0f61546391a017
parentc017f88fdedf409dc63ca63bab0b045ad23d0719
options: simplify the handling of -W

* src/getargs.c (warnings_argmatch, warning_argmatch): Simplify by
replacing function arguments with their actual values.
(WARNING_ARGMATCH): Remove, useless.
Adjust callers.
src/getargs.c