[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: [proposal] "or if" - run this next block if the previous one ran *or if* the condition is true
- From: "Soni \"They/Them\" L." <fakedme@...>
- Date: Mon, 23 Dec 2019 11:23:19 -0300
I'd like to have the ability to convert, say:
switch (op) {
case OP_TAILCALL: {
...
/*fallthrough*/
}
case OP_CALL: {
...
break;
}
}
into:
if op == OP_TAILCALL then
...
-- fallthrough
orif op == OP_CALL then
...
end
because it looks nicer this way I guess.