X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=op.c;h=836f4de173b01add2b452414574c98b9c5c13953;hp=9a4cc784175dd599d4696d815a39590cc95b06db;hb=HEAD;hpb=9aa8503cdc9933350f14299d326ec7ee379721b8 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: