]> git.saurik.com Git - bison.git/blobdiff - src/conflicts.c
* src/files.c (output_files): Free the output_obstack.
[bison.git] / src / conflicts.c
index 6542c943aa6ee6ce600036b9b8f7ca2e2749a721..c3dd8394481d1bc8c253257bd65cacbd2e675b1f 100644 (file)
@@ -40,10 +40,11 @@ static unsigned *lookaheadset = NULL;
 static inline void
 log_resolution (int state, int LAno, int token, char *resolution)
 {
-  obstack_fgrow4 (&output_obstack,
-                 _("\
+  if (verbose_flag)
+    obstack_fgrow4 (&output_obstack,
+                   _("\
 Conflict in state %d between rule %d and token %s resolved as %s.\n"),
-                 state, LAruleno[LAno], tags[token], resolution);
+                   state, LAruleno[LAno], tags[token], resolution);
 }