]> git.sur5r.net Git - cc65/commitdiff
Fixed a small bug
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 20 Mar 2004 19:23:03 +0000 (19:23 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 20 Mar 2004 19:23:03 +0000 (19:23 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2946 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/ca65/nexttok.c

index 0b1fbcd2a87ef70dd9333a51f1f517e2fe7309a3..1867ee097c88876c1eb7656151c9e3038fae3f69 100644 (file)
@@ -424,9 +424,10 @@ void ConsumeSep (void)
        if (Tok != TOK_SEP) {
                    Error ("Unexpected trailing garbage characters");
            SkipUntilSep ();
-       } else {
-           NextTok ();
        }
+       if (Tok == TOK_SEP) {
+           NextTok ();
+       }
     }
 }