???
This commit is contained in:
parent
df46c5e165
commit
4556d261d8
1 changed files with 2 additions and 1 deletions
|
@ -144,7 +144,6 @@ gencode(argc) {
|
||||||
opentemp(f_input);
|
opentemp(f_input);
|
||||||
correct_prefix();
|
correct_prefix();
|
||||||
/* generate code ... */
|
/* generate code ... */
|
||||||
genhdr();
|
|
||||||
generate(p);
|
generate(p);
|
||||||
getaction(2);
|
getaction(2);
|
||||||
doclose(fpars);
|
doclose(fpars);
|
||||||
|
@ -363,6 +362,8 @@ generate(f) p_file f; {
|
||||||
macro(ff->ff_name,&nonterms[ff->ff_nont]);
|
macro(ff->ff_name,&nonterms[ff->ff_nont]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
genhdr();
|
||||||
|
|
||||||
/* For every nonterminal generate a function */
|
/* For every nonterminal generate a function */
|
||||||
for (s = f->f_nonterminals; s != -1; s = p->n_next) {
|
for (s = f->f_nonterminals; s != -1; s = p->n_next) {
|
||||||
p = &nonterms[s];
|
p = &nonterms[s];
|
||||||
|
|
Loading…
Add table
Reference in a new issue