X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/39fd0b540d9aa05544484e85d451f2d04dec7751..e9955c83:/data/bison.simple diff --git a/data/bison.simple b/data/bison.simple index 8b5eda87..301058ea 100644 --- a/data/bison.simple +++ b/data/bison.simple @@ -191,10 +191,10 @@ b4_token_defines(b4_tokens) #endif #ifndef YYSTYPE -m4_ifdef([b4_stype_line], +m4_ifdef([b4_stype], [#line b4_stype_line "b4_filename" -])dnl -typedef b4_stype yystype; +typedef union b4_stype yystype;], +[typedef int yystype;]) # define YYSTYPE yystype # define YYSTYPE_IS_TRIVIAL 1 #endif @@ -1238,11 +1238,10 @@ m4_if(b4_defines_flag, 0, [], b4_token_defines(b4_tokens) #ifndef YYSTYPE -m4_ifdef([b4_stype_line], +m4_ifdef([b4_stype], [#line b4_stype_line "b4_filename" -])dnl -typedef b4_stype -yystype; +typedef union b4_stype yystype;], +[typedef int yystype;]) # define YYSTYPE yystype #endif