From: cuz Date: Thu, 10 Jun 2004 08:48:02 +0000 (+0000) Subject: Fixed a bug X-Git-Tag: V2.12.0~715 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d184d938fd31424397847b985841ff45e5c4a94c;p=cc65 Fixed a bug git-svn-id: svn://svn.cc65.org/cc65/trunk@3117 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/cc65/loadexpr.c b/src/cc65/loadexpr.c index 352f663c3..b39506a00 100644 --- a/src/cc65/loadexpr.c +++ b/src/cc65/loadexpr.c @@ -77,6 +77,7 @@ static void LoadConstant (unsigned Flags, ExprDesc* Expr) Error ("Cannot take the address of a register variable"); } g_getimmed ((Flags | CF_REGVAR) & ~CF_CONST, Expr->Name, Expr->IVal); + break; case E_LOC_STACK: g_leasp (Expr->IVal);