]> git.gag.com Git - fw/sdcc/commitdiff
fixed bug #457718
authorjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 2 Sep 2001 14:39:49 +0000 (14:39 +0000)
committerjohanknol <johanknol@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 2 Sep 2001 14:39:49 +0000 (14:39 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1216 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/SDCCast.c
src/SDCCicode.c

index fec4ec25644d634ed6e1096db281d139b6432040..6c0d58da83d24b92f7d7bd8b421fefe3eda28e9a 100644 (file)
@@ -1743,7 +1743,7 @@ reverseLoop (ast * loop, symbol * sym, ast * init, ast * end)
 
 }
 
-#define DEMAND_INTEGER_PROMOTION
+//#define DEMAND_INTEGER_PROMOTION
 
 #ifdef DEMAND_INTEGER_PROMOTION
 
index 93892f78bb13b75c1058bb56bc2320c7fdf291d3..4e2af8d76109a1fefec987c639e569607b9a1ca7 100644 (file)
@@ -2103,7 +2103,7 @@ geniCodePostDec (operand * op)
   /* if this is not an address we have trouble */
   if (!op->isaddr)
     {
-      werror (E_LVALUE_REQUIRED, "++");
+      werror (E_LVALUE_REQUIRED, "--");
       return op;
     }
 
@@ -2147,7 +2147,7 @@ geniCodePreDec (operand * op)
 
   if (!op->isaddr)
     {
-      werror (E_LVALUE_REQUIRED, "++");
+      werror (E_LVALUE_REQUIRED, "--");
       return op;
     }