mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 06:13:02 +00:00
tests: fix regressions.
Exit status 63 is documented for version-mismatch. * bootstrap.conf (gnulib_modules): Remove sysexits. * src/system.h (EX_MISMATCH): Define. * src/parse-gram.y (version_check): Use it instead of EX_CONFIG. Missing includes. * tests/calc.at, tests/named-refs.at: Include assert.h.
This commit is contained in:
@@ -207,6 +207,7 @@ extern FILE *input;]AT_SKEL_CC_IF([[
|
||||
|
||||
%code
|
||||
{
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#if HAVE_UNISTD_H
|
||||
|
||||
@@ -23,6 +23,7 @@ AT_SETUP([Tutorial calculator])
|
||||
AT_DATA_GRAMMAR([test.y],
|
||||
[[
|
||||
%{
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
Reference in New Issue
Block a user