Skip field immediates when generating progdefs.h

They break the very fragile algorithm :P.
This commit is contained in:
Bill Currie 2013-01-17 16:10:17 +09:00
parent 3c67e8f020
commit 00192ea1da

View file

@ -261,6 +261,8 @@ WriteProgdefs (dprograms_t *progs, const char *filename)
continue;
if (def->type != ev_field)
continue;
if (!strcmp (name, ".imm"))
continue;
fdef = (ddef_t *) ((char *) progs + progs->ofs_fielddefs) + j++;
if (fdef->s_name != def->s_name)