From 65149682a46ab8d47ca4de26570d2bcd1b3b1fc9 Mon Sep 17 00:00:00 2001 From: johanknol Date: Sun, 2 Sep 2001 14:39:49 +0000 Subject: [PATCH] fixed bug #457718 git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1216 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/SDCCast.c | 2 +- src/SDCCicode.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/SDCCast.c b/src/SDCCast.c index fec4ec25..6c0d58da 100644 --- a/src/SDCCast.c +++ b/src/SDCCast.c @@ -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 diff --git a/src/SDCCicode.c b/src/SDCCicode.c index 93892f78..4e2af8d7 100644 --- a/src/SDCCicode.c +++ b/src/SDCCicode.c @@ -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; } -- 2.47.2