]> git.saurik.com Git - bison.git/blobdiff - data/glr.cc
b4_semantic_type_declare.
[bison.git] / data / glr.cc
index 254bda1e75b1dfa98c495b34c50a9e2fc6c9ec3f..5cad0b169c60e5e3c0096a95ac561a2c433fc3ad 100644 (file)
@@ -266,16 +266,8 @@ b4_copyright([Skeleton interface for Bison GLR parsers in C++],
   class ]b4_parser_class_name[
   {
   public:
-    /// Symbol semantic values.
 #ifndef YYSTYPE
-]m4_ifdef([b4_stype],
-[    union semantic_type
-    {
-b4_user_stype
-    };],
-[m4_if(b4_tag_seen_flag, 0,
-[[    typedef int semantic_type;]],
-[[    typedef YYSTYPE semantic_type;]])])[
+]b4_semantic_type_declare[
 #else
     typedef YYSTYPE semantic_type;
 #endif