]> git.sur5r.net Git - cc65/commitdiff
Remove shifts from kcalc
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 29 Jun 2004 20:44:50 +0000 (20:44 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 29 Jun 2004 20:44:50 +0000 (20:44 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3139 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/cc65/expr.c

index ca5db3db13e2accb10a80cf6e4376c2f75330c13..59e59628ab058ccbe2122b193a7e34c3b9839a89 100644 (file)
@@ -239,10 +239,6 @@ static int kcalc (token_t tok, long val1, long val2)
            return (val1 ^ val2);
                case TOK_AND:
            return (val1 & val2);
-               case TOK_SHR:
-           return (val1 >> val2);
-               case TOK_SHL:
-           return (val1 << val2);
                case TOK_STAR:
            return (val1 * val2);
                case TOK_DIV: