mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
tests: add missing includes
* tests/actions.at, tests/c++.at, tests/headers.at, * tests/regression.at: here.
This commit is contained in:
@@ -127,6 +127,7 @@ AT_DATA_GRAMMAR([input.y],
|
||||
%define parse.error verbose
|
||||
]AT_VARIANT_IF([%token <int> 'x'], [%union {int integer;}])[
|
||||
%code {
|
||||
#include <stdio.h> /* printf. */
|
||||
]AT_PUSH_IF([[
|
||||
#if defined __GNUC__ && 7 == __GNUC__
|
||||
# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
@@ -212,6 +213,7 @@ $2
|
||||
int integer;
|
||||
}
|
||||
%{
|
||||
#include <stdio.h> /* printf. */
|
||||
]AT_PUSH_IF([[
|
||||
#if defined __GNUC__ && 7 == __GNUC__
|
||||
# pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
|
||||
|
||||
Reference in New Issue
Block a user