]> git.saurik.com Git - bison.git/commit - src/parse-gram.y
warnings: fusion of complain and complain_at
authorTheophile Ranquet <theophile.ranquet@gmail.com>
Mon, 1 Oct 2012 13:44:20 +0000 (13:44 +0000)
committerAkim Demaille <akim@lrde.epita.fr>
Mon, 1 Oct 2012 12:15:47 +0000 (14:15 +0200)
commitbb8e56ff67d289d15f1a4dc7f5e1502cd3bbfc24
tree29265904b8a8bffeb32a1a65f69aee8b1c7d2e05
parenta49f4904c36d585fa057b681c38af4d48de7c23b
warnings: fusion of complain and complain_at

These functions are very similar, and keeping them seperate makes
future improvements difficult, so merge them.

This impacts 89 calls.

* src/bootstrap.conf: Adjust.
* src/complain.c (complain, complain_at): Merge into...
(complain): this.
(complain_args): Adjust.
* src/complain.h, src/conflicts.c, src/files.c, src/getargs.c,
* src/gram.c, src/location.c, src/muscle-tab.c, src/parse-gram.y,
* src/reader.c, src/reduce.c, src/scan-code.l, src/scan-gram.l,
* src/scan-skel.l, src/symlist.c, src/symtab.c:
Adjust.

Signed-off-by: Akim Demaille <akim@lrde.epita.fr>
19 files changed:
bootstrap.conf
src/complain.c
src/complain.h
src/conflicts.c
src/files.c
src/getargs.c
src/gram.c
src/location.c
src/muscle-tab.c
src/parse-gram.c
src/parse-gram.h
src/parse-gram.y
src/reader.c
src/reduce.c
src/scan-code.l
src/scan-gram.l
src/scan-skel.l
src/symlist.c
src/symtab.c