IPP: splitting "else if"

Example:

if (a == 0) {
// ...
}
else if (b == 1) {
// ...
}

It would be cool if IPP could offer at the "else if" in the previous
example to put the if in a separate {} block:

if (a == 0) {
// ...
}
else {
if (b == 1) {
// ...
}
}

Thanks in advance!

--
Lars Köhler

1 comment
Comment actions Permalink


Nice one. It'll definitely go into the next release (currently unscheduled, but probably soon).

--Dave

0

Please sign in to leave a comment.