From 7381a349f30b60b3b8ab51842504704f6c539e83 Mon Sep 17 00:00:00 2001 From: jesusc Date: Mon, 7 Jul 2003 22:22:32 +0000 Subject: [PATCH] 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 --- as/z80/aslex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2