]> git.saurik.com Git - bison.git/blobdiff - data/glr.c
c: no longer require stdio.h when locations are enabled
[bison.git] / data / glr.c
index be305f22e9ef38b929558de3e1c866bc7280aba8..7ab3823589e99d7f05fa02aa69e70e2737fec23a 100644 (file)
@@ -396,7 +396,6 @@ dnl We probably ought to introduce a type for confl.
 ]b4_yylloc_default_define[
 # define YYRHSLOC(Rhs, K) ((Rhs)[K].yystate.yyloc)
 ]])[
-]b4_yy_location_print_define[
 
 ]b4_pure_if(
 [
@@ -437,6 +436,8 @@ typedef enum { yyok, yyaccept, yyabort, yyerr } YYRESULTTAG;
 #  define YYFPRINTF fprintf
 # endif
 
+]b4_yy_location_print_define[
+
 # define YYDPRINTF(Args)                        \
   do {                                          \
     if (yydebug)                                \