]> git.saurik.com Git - bison.git/commit
maint: avoid "magic number exit".
authorAkim Demaille <demaille@gostai.com>
Sat, 18 Feb 2012 18:19:26 +0000 (19:19 +0100)
committerAkim Demaille <demaille@gostai.com>
Sun, 19 Feb 2012 09:21:06 +0000 (10:21 +0100)
commitdd5611579b3978eff5c4aa22dc8459b8f53c2fc0
tree645e4092f75fe8cd073cb90858217292f756b657
parent24bb5f8fb7f14df4050cbefd27ae60fa9cef259d
maint: avoid "magic number exit".

* cfg.mk (local-checks-to-skip): No longer skip it.
* bootstrap.conf (gnulib_modules): Add sysexits.
* doc/bison.texinfo, etc/bench.pl.in, src/parse-gram.y,
* src/system.h, tests/calc.at, tests/named-refs.at: Use assert
where appropriate instead of "if (...) exit".
Use symbolic exit status elsewhere.

Conflicts:

doc/bison.texinfo
src/parse-gram.y
bootstrap.conf
cfg.mk
doc/bison.texinfo
etc/bench.pl.in
lib/.gitignore
m4/.gitignore
src/parse-gram.y
src/system.h
tests/calc.at
tests/named-refs.at