]> git.sur5r.net Git - cc65/commitdiff
Fixed a bug
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 10 Jun 2004 08:48:02 +0000 (08:48 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 10 Jun 2004 08:48:02 +0000 (08:48 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3117 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/cc65/loadexpr.c

index 352f663c3eb6ee9843209515c86b6e573de945d4..b39506a004efb1c513fa0821bbaeee52365220e7 100644 (file)
@@ -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);