bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mysterious change to test case fixes YYSTYPE header ordering problem


From: Paul Eggert
Subject: mysterious change to test case fixes YYSTYPE header ordering problem
Date: Wed, 13 Sep 2006 12:39:59 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)

I installed this:

2006-09-13  Paul Eggert  <address@hidden>

        * tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Remove
        "#define YYSTYPE int" that caused "make maintainer-check" to fail
        due to header ordering dependencies.  I don't know why the #define
        was there.

--- tests/actions.at    13 Sep 2006 18:44:47 -0000      1.68
+++ tests/actions.at    13 Sep 2006 19:35:43 -0000
@@ -191,8 +191,7 @@ m4_ifval([$6], [%union
 }])
 AT_LALR1_CC_IF([%define "global_tokens_and_yystype"])
 m4_ifval([$6], [[%end-header {]], [[%after-header {]])
-AT_LALR1_CC_IF([typedef yy::location YYLTYPE;
-                m4_ifval([$6], , [#define YYSTYPE int])])
+AT_LALR1_CC_IF([typedef yy::location YYLTYPE;])
 [static int yylex (]AT_LEX_FORMALS[);
 ]AT_LALR1_CC_IF([], [static void yyerror (const char *msg);])
 [}




reply via email to

[Prev in Thread] Current Thread [Next in Thread]