mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 02:03:03 +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>
|
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
|
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
|
runtime cost when YYDEBUG is not defined, and so that some tests
|
||||||
that used to fail now work. Problem and initial suggestion by
|
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"])
|
AT_LALR1_CC_IF([%define "global_tokens_and_yystype"])
|
||||||
m4_ifval([$6], [[%end-header {]], [[%after-header {]])
|
m4_ifval([$6], [[%end-header {]], [[%after-header {]])
|
||||||
AT_LALR1_CC_IF([typedef yy::location YYLTYPE;
|
AT_LALR1_CC_IF([typedef yy::location YYLTYPE;])
|
||||||
m4_ifval([$6], , [#define YYSTYPE int])])
|
|
||||||
[static int yylex (]AT_LEX_FORMALS[);
|
[static int yylex (]AT_LEX_FORMALS[);
|
||||||
]AT_LALR1_CC_IF([], [static void yyerror (const char *msg);])
|
]AT_LALR1_CC_IF([], [static void yyerror (const char *msg);])
|
||||||
[}
|
[}
|
||||||
|
|||||||
Reference in New Issue
Block a user