mirror of
https://github.com/cc65/cc65.git
synced 2025-01-11 11:30:13 +00:00
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
This commit is contained in:
parent
4812feb44b
commit
af9286852f
@ -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: ;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user