From: johanknol Date: Sat, 19 May 2001 13:39:51 +0000 (+0000) Subject: fix for new oct and hex escapes X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=c3460991f25923059073d11d257bbb212242d203;p=fw%2Fsdcc fix for new oct and hex escapes git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@827 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/src/SDCCval.c b/src/SDCCval.c index 8871a531..a2c6f8e0 100644 --- a/src/SDCCval.c +++ b/src/SDCCval.c @@ -419,9 +419,8 @@ copyStr (char *dest, char *src) } else { if (value>255) { werror(W_ESC_SEQ_OOR_FOR_CHAR); - } else { - *dest++ = value; } + *dest++ = value; src--; } break;