From e8ec4d9b33fbec4005427502259284fdc9ea6841 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 13 Sep 2006 19:39:14 +0000 Subject: [PATCH] * 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. --- ChangeLog | 5 +++++ tests/actions.at | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 603709be..851983d7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2006-09-13 Paul Eggert + * 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 diff --git a/tests/actions.at b/tests/actions.at index e2045028..fad7f77b 100644 --- a/tests/actions.at +++ b/tests/actions.at @@ -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);]) [} -- 2.47.2