From: jesusc Date: Mon, 7 Jul 2003 22:22:32 +0000 (+0000) Subject: getst(id, c) was looping forever so changed it as in mcs51 port X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=7381a349f30b60b3b8ab51842504704f6c539e83;p=fw%2Fsdcc getst(id, c) was looping forever so changed it as in mcs51 port git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2726 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/as/z80/aslex.c b/as/z80/aslex.c index 9eab59a4..41814271 100644 --- a/as/z80/aslex.c +++ b/as/z80/aslex.c @@ -164,7 +164,7 @@ char *id; do { if (p < &id[NCPS]) *p++ = c; - } while (ctype[c=get()] & ~(SPACE|ILL)); + } while (ctype[c=get()] & (0xFF - (SPACE|ILL))); unget(c); while (p < &id[NCPS]) *p++ = 0;