inc & dec op added
authorsandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 4 Mar 2000 23:37:41 +0000 (23:37 +0000)
committersandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 4 Mar 2000 23:37:41 +0000 (23:37 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@150 4a8a32a2-be11-0410-ad9d-d568d2c75423

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 */