From: cuz Date: Thu, 2 Oct 2003 09:01:47 +0000 (+0000) Subject: Fixed a bug X-Git-Tag: V2.12.0~1303 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2b501720bf2bdde26e4bc5dc095149e84ea2436d;p=cc65 Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@2468 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/codeent.c b/src/cc65/codeent.c index 427a17ef1..f9e74a11c 100644 --- a/src/cc65/codeent.c +++ b/src/cc65/codeent.c @@ -245,8 +245,8 @@ CodeEntry* NewCodeEntry (opc_t OPC, am_t AM, const char* Arg, E->OPC = D->OPC; E->AM = AM; E->Size = GetInsnSize (E->OPC, E->AM); - E->Flags = NumArg (E->Arg, &E->Num)? CEF_NUMARG : 0; E->Arg = GetArgCopy (Arg); + E->Flags = NumArg (E->Arg, &E->Num)? CEF_NUMARG : 0; /* Needs E->Arg */ E->Info = D->Info; E->JumpTo = JumpTo; E->LI = UseLineInfo (LI);