]> git.saurik.com Git - bison.git/blobdiff - data/c.m4
Use unlocked I/O for a minor performance improvement on hosts like
[bison.git] / data / c.m4
index 03f20ff79616dffc9a35b31155f3cc736d9d5fc8..56b749e67981d33550ea8241e2acdd3dc652371e 100644 (file)
--- a/data/c.m4
+++ b/data/c.m4
@@ -431,7 +431,7 @@ b4_location_if([  (void) yylocationp;
     YYFPRINTF (yyoutput, "nterm %s (", yytname[yytype]);
 
 ]b4_location_if([  YY_LOCATION_PRINT (yyoutput, *yylocationp);
-  YYFPRINTF (yyoutput, ": ");
+  YYFPUTS (": ", yyoutput);
 ])dnl
 [
 # ifdef YYPRINT
@@ -444,6 +444,6 @@ b4_location_if([  (void) yylocationp;
 [      default:
         break;
     }
-  YYFPRINTF (yyoutput, ")");
+  YYFPUTC (')', yyoutput);
 }
 ]])