From 3f1ebfe11650ea4585877bcbdf18c6ab96ba0c6b Mon Sep 17 00:00:00 2001 From: cuz Date: Sat, 20 Mar 2004 19:23:03 +0000 Subject: [PATCH] Fixed a small bug git-svn-id: svn://svn.cc65.org/cc65/trunk@2946 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- src/ca65/nexttok.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 (); + } } } -- 2.39.5