]> git.saurik.com Git - bison.git/blobdiff - data/yacc.c
variants: avoid type punning issue
[bison.git] / data / yacc.c
index ba72c24ad21fbb6e2867b1f153a29c2b0db0f639..88277a9174d0a8755a6a172631c5c357dd319448 100644 (file)
@@ -676,7 +676,6 @@ while (0)
 ]b4_yylloc_default_define[
 #define YYRHSLOC(Rhs, K) ((Rhs)[K])
 ]])[
-]b4_yy_location_print_define[
 
 /* Enable debugging if requested.  */
 #if ]b4_api_PREFIX[DEBUG
@@ -692,6 +691,8 @@ do {                                            \
     YYFPRINTF Args;                             \
 } while (0)
 
+]b4_yy_location_print_define[
+
 # define YY_SYMBOL_PRINT(Title, Type, Value, Location)                    \
 do {                                                                      \
   if (yydebug)                                                            \