]> git.saurik.com Git - bison.git/commitdiff
* tests/actions.at (_AT_CHECK_PRINTER_AND_DESTRUCTOR): Remove
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 13 Sep 2006 19:39:14 +0000 (19:39 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 13 Sep 2006 19:39:14 +0000 (19:39 +0000)
"#define YYSTYPE int" that caused "make maintainer-check" to fail
due to header ordering dependencies.  I don't know why the #define
was there.

ChangeLog
tests/actions.at

index 603709bed6d8d12b9f800c10336b2e7258dc634e..851983d7aa62a4da947f1f6146a9f3990d4e5784 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2006-09-13  Paul Eggert  <eggert@cs.ucla.edu>
 
+       * 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.
+
        Fix glr.cc and lalr1.cc's use of YYDEBUG so that there's zero
        runtime cost when YYDEBUG is not defined, and so that some tests
        that used to fail now work.  Problem and initial suggestion by
index e20450285bea726021d1dae18254cda969a83b44..fad7f77bac3f4e25891234de9f8781152a779fe3 100644 (file)
@@ -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);])
 [}