mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-10 12:53:03 +00:00
* 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:
@@ -1911,6 +1911,9 @@ packgram (void)
|
||||
}
|
||||
|
||||
ritem[itemno] = 0;
|
||||
|
||||
if (trace_flag)
|
||||
ritem_print (stderr);
|
||||
}
|
||||
|
||||
/*-------------------------------------------------------------------.
|
||||
|
||||
Reference in New Issue
Block a user