inc & dec op added
[fw/sdcc] / src / SDCCast.h
index 8c2ca1622d9ca8efde0b375167c532a21a45ca35..2306354fd5a1139d97195f1aca655c322d099d62 100644 (file)
@@ -145,7 +145,7 @@ typedef  struct   ast {
 
 #define IS_ASSIGN_OP(x) ( x == '=' || x == ADD_ASSIGN || x == SUB_ASSIGN ||\
                          x == MUL_ASSIGN || x == DIV_ASSIGN || x == XOR_ASSIGN ||\
-                         x == AND_ASSIGN || x == OR_ASSIGN)
+                         x == AND_ASSIGN || x == OR_ASSIGN || x == INC_OP || x == DEC_OP)
 #define IS_DEREF_OP(x) (( x->opval.op == '*' && x->right == NULL) || x->opval.op == '.')
 
 /* forward declrations for global variables */