From: uz Date: Sun, 3 Aug 2008 12:54:11 +0000 (+0000) Subject: A label must always be followed by a statement. This wasn't checked by the X-Git-Tag: V2.13.0rc1~391 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=af9286852f818e7efdf3cb13741b927b504b6445;p=cc65 A label must always be followed by a statement. This wasn't checked by the compiler before. git-svn-id: svn://svn.cc65.org/cc65/trunk@3864 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/common/_scanf.c b/libsrc/common/_scanf.c index f59d33c75..ba2b15eab 100644 --- a/libsrc/common/_scanf.c +++ b/libsrc/common/_scanf.c @@ -215,6 +215,7 @@ Yank: asm ("dec %v", CharCount); Done: + ; } @@ -262,6 +263,7 @@ static void ReadChar (void) asm ("inc %v+1", CharCount); Done: + ; } @@ -292,6 +294,7 @@ static void CheckEnd (void) Error (RC_EOF); Done: + ; } @@ -407,7 +410,7 @@ Loop: asm ("lda %v,y", IntVal); asm ("inc %v", Assignments); asm ("bne %g", Done); asm ("inc %v+1", Assignments); -Done: +Done: ; } }