mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
(YYSTYPE_IS_TRIVIAL, YYLTYPE_IS_TRIVIAL):
Define if we define YYSTYPE and YYLTYPE, respectively.
This commit is contained in:
@@ -142,6 +142,7 @@ m4_ifdef([b4_stype_line],
|
|||||||
])dnl
|
])dnl
|
||||||
typedef b4_stype yystype;
|
typedef b4_stype yystype;
|
||||||
# define YYSTYPE yystype
|
# define YYSTYPE yystype
|
||||||
|
# define YYSTYPE_IS_TRIVIAL 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef YYLTYPE
|
#ifndef YYLTYPE
|
||||||
@@ -153,6 +154,7 @@ typedef struct yyltype
|
|||||||
int last_column;
|
int last_column;
|
||||||
} yyltype;
|
} yyltype;
|
||||||
# define YYLTYPE b4_ltype
|
# define YYLTYPE b4_ltype
|
||||||
|
# define YYLTYPE_IS_TRIVIAL 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Copy the second part of user declarations. */
|
/* Copy the second part of user declarations. */
|
||||||
|
|||||||
Reference in New Issue
Block a user