From 4556d261d8beeb46f113a663a3015f477b3972e3 Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 4 Apr 2002 12:33:15 +0000 Subject: [PATCH] ??? --- util/LLgen/src/gencode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/util/LLgen/src/gencode.c b/util/LLgen/src/gencode.c index 3f480e915..20d0d6cb2 100644 --- a/util/LLgen/src/gencode.c +++ b/util/LLgen/src/gencode.c @@ -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];