mirror of
https://github.com/cc65/cc65.git
synced 2024-09-29 02:55:20 +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);
|
asm ("dec %v", CharCount);
|
||||||
|
|
||||||
Done:
|
Done:
|
||||||
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -262,6 +263,7 @@ static void ReadChar (void)
|
|||||||
asm ("inc %v+1", CharCount);
|
asm ("inc %v+1", CharCount);
|
||||||
|
|
||||||
Done:
|
Done:
|
||||||
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -292,6 +294,7 @@ static void CheckEnd (void)
|
|||||||
|
|
||||||
Error (RC_EOF);
|
Error (RC_EOF);
|
||||||
Done:
|
Done:
|
||||||
|
;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -407,7 +410,7 @@ Loop: asm ("lda %v,y", IntVal);
|
|||||||
asm ("inc %v", Assignments);
|
asm ("inc %v", Assignments);
|
||||||
asm ("bne %g", Done);
|
asm ("bne %g", Done);
|
||||||
asm ("inc %v+1", Assignments);
|
asm ("inc %v+1", Assignments);
|
||||||
Done:
|
Done: ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user