mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
* 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.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);])
|
||||
[}
|
||||
|
||||
Reference in New Issue
Block a user