]> git.saurik.com Git - bison.git/blobdiff - data/glr.cc
Suppress signed/unsigned comparison warnings for yycheck.
[bison.git] / data / glr.cc
index e742c03d17543721a2650a01ed7b3b412f33d554..59b9e3dd81b5478722d8e0837356d48a93610639 100644 (file)
@@ -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