From: cuz Date: Sat, 20 Mar 2004 19:23:03 +0000 (+0000) Subject: Fixed a small bug X-Git-Tag: V2.12.0~878 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3f1ebfe11650ea4585877bcbdf18c6ab96ba0c6b;p=cc65 Fixed a small bug git-svn-id: svn://svn.cc65.org/cc65/trunk@2946 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ca65/nexttok.c b/src/ca65/nexttok.c index 0b1fbcd2a..1867ee097 100644 --- a/src/ca65/nexttok.c +++ b/src/ca65/nexttok.c @@ -424,9 +424,10 @@ void ConsumeSep (void) if (Tok != TOK_SEP) { Error ("Unexpected trailing garbage characters"); SkipUntilSep (); - } else { - NextTok (); } + if (Tok == TOK_SEP) { + NextTok (); + } } }