From af9286852f818e7efdf3cb13741b927b504b6445 Mon Sep 17 00:00:00 2001 From: uz Date: Sun, 3 Aug 2008 12:54:11 +0000 Subject: [PATCH] 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 --- libsrc/common/_scanf.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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: ; } } -- 2.39.5