]> git.saurik.com Git - bison.git/commit
warnings: organize variadic complaints call
authorTheophile Ranquet <theophile.ranquet@gmail.com>
Mon, 1 Oct 2012 15:01:00 +0000 (15:01 +0000)
committerAkim Demaille <akim@lrde.epita.fr>
Mon, 1 Oct 2012 13:41:35 +0000 (15:41 +0200)
commit782e8187185a009ce698ad294c87e49a0a30c3a1
treef7b4027752f20641c4e51fe154de724959d71960
parentbb8e56ff67d289d15f1a4dc7f5e1502cd3bbfc24
warnings: organize variadic complaints call

Move the dispatch of variadic complains to complain.c, rather than do
it in a scanner.

* src/complain.h, src/complain.c (complain_args): New.
* src/scan-skel.l (at_directive_perform): Use it.

Signed-off-by: Akim Demaille <akim@lrde.epita.fr>
src/complain.c
src/complain.h
src/scan-skel.l