2002-06-30 Akim Demaille <akim@epita.fr>
+ * src/print_graph.c: Use report_flag.
+
+
+2002-06-30 Akim Demaille <akim@epita.fr>
+
* src/lalr.c (traverse, digraph, matrix_print, transpose): Move
to...
* src/relation.h, src/relation.c (traverse, relation_digraph)
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;
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;