]> git.saurik.com Git - bison.git/blobdiff - src/system.h
Remove the last uses of mktemp and unlink/delete.
[bison.git] / src / system.h
index 23d577710872ce199ee2c8eb226083ccd36c1146..dfa287bb92d2329e51974b8a59607c7773576a68 100644 (file)
@@ -187,3 +187,10 @@ do {                                               \
   sprintf (buf, Format, Arg1, Arg2);           \
   obstack_grow (Obs, buf, strlen (buf));       \
 } while (0)
+
+#define obstack_fgrow3(Obs, Format, Arg1, Arg2, Arg3)  \
+do {                                                   \
+  char buf[4096];                                      \
+  sprintf (buf, Format, Arg1, Arg2, Arg3);             \
+  obstack_grow (Obs, buf, strlen (buf));               \
+} while (0)