]> git.saurik.com Git - bison.git/commit - data/yacc.c
maint: fix some syntax-check issues.
authorAkim Demaille <demaille@gostai.com>
Sat, 18 Feb 2012 17:48:33 +0000 (18:48 +0100)
committerAkim Demaille <demaille@gostai.com>
Sun, 19 Feb 2012 09:21:06 +0000 (10:21 +0100)
commit24bb5f8fb7f14df4050cbefd27ae60fa9cef259d
treeb1837514cc4c95d1dc203d14c817a55cd3a75558
parent6487c0b3709dfc8d4a6b8b086939e32f6c1d2f04
maint: fix some syntax-check issues.

* cfg.mk (local-checks-to-skip): Remove
sc_prohibit_quotearg_without_use, sc_prohibit_strcmp,
sc_unmarked_diagnostics, sc_useless_cpp_parens.
(sc_unmarked_diagnostics): Skip DJGPP.
* data/yacc.c, src/LR0.c, src/closure.c,
* src/flex-scanner.h, src/gram.c, src/lalr.c,
* src/print-xml.c, src/print.c, src/print_graph.c,
* src/reader.c, src/reduce.c, src/tables.c:
Don't use parens with cpp's defined.
Remove useless includes.
13 files changed:
cfg.mk
data/yacc.c
src/LR0.c
src/closure.c
src/flex-scanner.h
src/gram.c
src/lalr.c
src/print-xml.c
src/print.c
src/print_graph.c
src/reader.c
src/reduce.c
src/tables.c