revised generate.c symtab.c