* 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:26:05 +00:00
parent 7d27c823de
commit 3067fbef53
5 changed files with 38 additions and 12 deletions

View File

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