X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/8ec0a172bcae50565b68288a32c0dd9368eee8ad..06e8700a000fb661a3d15db8e1dfeb6bfcccf86d:/data/glr.cc diff --git a/data/glr.cc b/data/glr.cc index e742c03d..59b9e3dd 100644 --- a/data/glr.cc +++ b/data/glr.cc @@ -288,7 +288,9 @@ namespace ]b4_namespace[ [ union semantic_type b4_user_stype ;], -[ typedef int semantic_type;])[ +[m4_if(b4_tag_seen_flag, 0, +[[ typedef int semantic_type;]], +[[ typedef YYSTYPE semantic_type;]])])[ #else typedef YYSTYPE semantic_type; #endif