]> git.sur5r.net Git - cc65/commitdiff
Added more missing ops
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 10 Nov 2003 13:58:30 +0000 (13:58 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Mon, 10 Nov 2003 13:58:30 +0000 (13:58 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2634 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/common/exprdefs.c

index a717e1475e68ea50dfee949996ffac6bd628fa18..d108c35b33c502f34eb0a664fcd56b84f6bb9280 100644 (file)
@@ -130,6 +130,26 @@ static void InternalDumpExpr (const ExprNode* Expr)
            printf (" >");
            break;
 
+               case EXPR_LE:
+           printf (" <=");
+           break;
+
+               case EXPR_GE:
+           printf (" >=");
+           break;
+
+       case EXPR_BAND:
+           printf (" BOOL_AND");
+           break;
+
+       case EXPR_BOR:
+           printf (" BOOL_OR");
+           break;
+
+       case EXPR_BXOR:
+           printf (" BOOL_XOR");
+           break;
+
                case EXPR_UNARY_MINUS:
            printf (" NEG");
            break;
@@ -138,6 +158,22 @@ static void InternalDumpExpr (const ExprNode* Expr)
            printf (" ~");
            break;
 
+               case EXPR_SWAP:
+           printf (" SWAP");
+           break;
+
+       case EXPR_BNOT:
+           printf (" BOOL_NOT");
+           break;
+
+        case EXPR_FORCEWORD:
+            printf (" FORCE_WORD");
+            break;
+
+        case EXPR_FORCEFAR:
+            printf (" FORCE_FAR");
+            break;
+
                case EXPR_BYTE0:
            printf (" BYTE0");
            break;
@@ -154,29 +190,17 @@ static void InternalDumpExpr (const ExprNode* Expr)
            printf (" BYTE3");
            break;
 
-               case EXPR_SWAP:
-           printf (" SWAP");
+               case EXPR_WORD0:
+           printf (" WORD0");
            break;
 
-       case EXPR_BAND:
-           printf (" BOOL_AND");
-           break;       
-
-       case EXPR_BOR:
-           printf (" BOOL_OR");
-           break;
-
-       case EXPR_BXOR:
-           printf (" BOOL_XOR");
-           break;
-
-       case EXPR_BNOT:
-           printf (" BOOL_NOT");
+               case EXPR_WORD1:
+           printf (" WORD1");
            break;
 
         default:
                    AbEnd ("Unknown Op type: %u", Expr->Op);
-
+                          
     }
 }