mirror of
git://c9x.me/qbe.git
synced 2026-04-06 18:39:48 +00:00
fix multiple block definition check
This commit is contained in:
parent
1e0d8e2f64
commit
1d62b4bf47
@ -317,8 +317,8 @@ parseline(PState ps)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
curb = b;
|
curb = b;
|
||||||
if (curb->np || curb->ni)
|
if (curb->jmp.type != JXXX)
|
||||||
err("block already defined");
|
err("multiple definitions of block");
|
||||||
expect(TNL);
|
expect(TNL);
|
||||||
return PPhi;
|
return PPhi;
|
||||||
case TRet:
|
case TRet:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user