From: Akim Demaille Date: Mon, 3 Dec 2012 14:43:57 +0000 (+0100) Subject: tests: beware of gnulib's need for config.h X-Git-Tag: v2.6.90~23 X-Git-Url: https://git.saurik.com/bison.git/commitdiff_plain/6ee95cd0d900362be987c3910d634e20460d7ad0?hp=8aef6e0db593eff8e7c1c10259d452fb5879e9e0 tests: beware of gnulib's need for config.h * tests/skeletons.at, tests/torture.at: Be sure to include config.h where appropriate. --- diff --git a/tests/skeletons.at b/tests/skeletons.at index 7b5b8f27..fa496c97 100644 --- a/tests/skeletons.at +++ b/tests/skeletons.at @@ -114,10 +114,10 @@ main (void) } ]]) -AT_DATA([[input-cmd-line.y]], +AT_DATA_GRAMMAR([[input-cmd-line.y]], [AT_GRAM]) -AT_DATA([[input-gram.y]], +AT_DATA_GRAMMAR([[input-gram.y]], [[%skeleton "yacc.c"] AT_GRAM]) diff --git a/tests/torture.at b/tests/torture.at index 5aa18900..ac9e91ea 100644 --- a/tests/torture.at +++ b/tests/torture.at @@ -269,6 +269,7 @@ print < # include # include @@ -383,7 +384,7 @@ m4_define([AT_DATA_STACK_TORTURE], [AT_BISON_OPTION_PUSHDEFS([$2]) # A grammar of parens growing the stack thanks to right recursion. # exp: -AT_DATA([input.y], +AT_DATA_GRAMMAR([input.y], [[%{ #include #include