diff options
author | Akim Demaille <demaille@gostai.com> | 2012-02-18 19:19:26 +0100 |
---|---|---|
committer | Akim Demaille <demaille@gostai.com> | 2012-02-19 10:21:06 +0100 |
commit | dd5611579b3978eff5c4aa22dc8459b8f53c2fc0 (patch) | |
tree | 645e4092f75fe8cd073cb90858217292f756b657 /src/system.h | |
parent | 24bb5f8fb7f14df4050cbefd27ae60fa9cef259d (diff) | |
download | bison-dd5611579b3978eff5c4aa22dc8459b8f53c2fc0.tar.gz |
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
Diffstat (limited to 'src/system.h')
-rw-r--r-- | src/system.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/system.h b/src/system.h index 52b597b1..1c02f253 100644 --- a/src/system.h +++ b/src/system.h @@ -52,6 +52,7 @@ typedef size_t uintptr_t; #endif +#include <sysexits.h> /*---------. | Gnulib. | |