]> git.saurik.com Git - bison.git/blobdiff - data/bison.c++
Have Bison grammars parsed by a Bison grammar.
[bison.git] / data / bison.c++
index 0878770b4fc08db14388e594f3a6eac1fd130c26..dafdddee2899870b21e8aab37c535d9fb579c2e3 100644 (file)
@@ -159,11 +159,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
 #endif