Function ScopeCondition.tryToggle

Try toggling the current scope's condition.

void tryToggle() nothrow @nogc @safe;

If the current scope's condition is TRUE then set it to FALSE. If the current scope's condition is FALSE then it's toggled to TRUE only if the earliest FALSE condition is the current scope.

Call this after an ELSE opcode but check empty() first. Note that ScopeCondition does not handle any dangling / duplicate ELSE opcodes, this is the client code's responsibility.