* src/gram.c, src/gram.h (ritem_print): New.

* src/gram.c (dummy): Remove, now there is actual code in gram.c.
(This useless function was defined only to work around VMS linkers
that can't handle compilation units with variables only).
* src/reduce.c (dump_grammar): Use it to trace the construction of
ritem.
This commit is contained in:
Akim Demaille
2001-12-05 09:16:07 +00:00
parent cc904af579
commit 2dfb4daf9b
14 changed files with 65 additions and 39 deletions

View File

@@ -1911,6 +1911,9 @@ packgram (void)
}
ritem[itemno] = 0;
if (trace_flag)
ritem_print (stderr);
}
/*-------------------------------------------------------------------.