bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

13-report-flag.patch


From: Akim Demaille
Subject: 13-report-flag.patch
Date: Sun, 30 Jun 2002 19:27:28 +0200

Index: ChangeLog
from  Akim Demaille  <address@hidden>
        * src/print_graph.c: Use report_flag.
        
        
Index: src/print_graph.c
--- src/print_graph.c Sat, 29 Jun 2002 15:49:57 +0200 akim
+++ src/print_graph.c Sat, 29 Jun 2002 19:18:43 +0200 akim
@@ -51,7 +51,7 @@
   int snritems   = state->nitems;
 
   /* Output all the items of a state, not only its kernel.  */
-  if (trace_flag)
+  if (report_flag & report_itemsets)
     {
       closure (sitems, snritems);
       sitems = itemset;
@@ -86,7 +86,8 @@
        obstack_fgrow1 (oout, " %s", symbol_tag_get (symbols[*sp]));
 
       /* Experimental feature: display the lookaheads. */
-      if (trace_flag && state->nlookaheads)
+      if ((report_flag & report_lookaheads)
+         && state->nlookaheads)
        {
          int j, k;
          int nlookaheads = 0;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]