Fixed another bug in CascadeSwitch
git-svn-id: svn://svn.cc65.org/cc65/trunk@814 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
c5ccad1fc7
commit
d982999f3e
1 changed files with 4 additions and 4 deletions
|
@ -443,7 +443,7 @@ static void CascadeSwitch (ExprDesc* Expr)
|
|||
NextToken ();
|
||||
|
||||
/* Handle the pathologic case: DEFAULT followed by CASE */
|
||||
if (CurTok.Tok == TOK_CASE) {
|
||||
if (NextTok.Tok == TOK_CASE) {
|
||||
if (CodeLab == 0) {
|
||||
CodeLab = GetLocalLabel ();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue