X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=op.c;fp=op.c;h=6a7d51d6c45322bb213ff75769b2e6e53a0bbde1;hp=9a4cc784175dd599d4696d815a39590cc95b06db;hb=526716329c31d18f0ecc0e23698fa6381628409c;hpb=e8f9d55bc7aaf40ad5f55de6b3b3cb007d61c865 diff --git a/op.c b/op.c index 9a4cc78..6a7d51d 100644 --- a/op.c +++ b/op.c @@ -46,6 +46,11 @@ int GenerateOPCode(int state) if (!robjproc) return error("opcode only valid in OP mode"); + // It's OK to call this before validating state. If the state is invalid, an + // error will be generated and no object file will be produced, so it + // doesn't matter if the line number symbols are a little off. + GENLINENOSYM(); + switch (state) { case MO_BITMAP: