From: uz Date: Sat, 10 Jul 2010 12:32:05 +0000 (+0000) Subject: A negative token count for .LEFT was incorrectly adjusted to 1, not to 0. X-Git-Tag: V2.13.3~695 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=abbfaef2aa22e51b9767e9a1aa060442f5dafdef;p=cc65 A negative token count for .LEFT was incorrectly adjusted to 1, not to 0. git-svn-id: svn://svn.cc65.org/cc65/trunk@4738 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/src/ca65/nexttok.c b/src/ca65/nexttok.c index cb76bdb18..5aa3d0217 100644 --- a/src/ca65/nexttok.c +++ b/src/ca65/nexttok.c @@ -6,7 +6,7 @@ /* */ /* */ /* */ -/* (C) 2000-2009, Ullrich von Bassewitz */ +/* (C) 2000-2010, Ullrich von Bassewitz */ /* Roemerstrasse 52 */ /* D-70794 Filderstadt */ /* EMail: uz@cc65.org */ @@ -278,7 +278,7 @@ static void FuncLeft (void) /* Count argument. Correct negative counts to zero. */ Count = ConstExpression (); if (Count < 0) { - Count = 1; + Count = 0; } ConsumeComma ();