mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 18:23:03 +00:00
* data/glr.c (YYSTACKEXPANDABLE): Don't define if already defined.
(yyuserMerge): Provide a default case if b4_mergers is empty. * tests/cxx-type.at (_AT_TEST_GLR_CXXTYPES): Define YYSTACKEXPANDABLE. * tests/glr-regression.at (Improper handling of embedded actions and dollar(-N) in GLR parsers): YYSTYPE is char *, not char const *, so that strcpy ($$, ...) works.
This commit is contained in:
@@ -121,7 +121,7 @@ AT_DATA_GRAMMAR([glr-regr2a.y],
|
||||
/* Reported by S. Eken */
|
||||
|
||||
%{
|
||||
#define YYSTYPE char const *
|
||||
#define YYSTYPE char *
|
||||
#define yyfalse 0
|
||||
#define yytrue 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user