This commit is contained in:
ceriel 2002-04-04 12:33:15 +00:00
parent df46c5e165
commit 4556d261d8

View file

@ -144,7 +144,6 @@ gencode(argc) {
opentemp(f_input);
correct_prefix();
/* generate code ... */
genhdr();
generate(p);
getaction(2);
doclose(fpars);
@ -363,6 +362,8 @@ generate(f) p_file f; {
macro(ff->ff_name,&nonterms[ff->ff_nont]);
}
genhdr();
/* For every nonterminal generate a function */
for (s = f->f_nonterminals; s != -1; s = p->n_next) {
p = &nonterms[s];