Quote
I hope this bracket-less nested while loop won't be as difficult to fix as the previous ones.
Yes, it will be and is and was :-]

I have added a fix for this but... it could easily have side-effects.

The recommended method of formatting if/while statements is to use () and {} brackets. These are really important due to the lack of quoting/escaping in the scripting language. To make matters more complicated, all kinds of tweaks have built up over decades to overcome ambiguities and limitations in different contexts. So fixing your above issue could very well affect existing code in other contexts.

Ideally, the scripting language would reports errors when () or {} are not used but this would break all existing scripts at this point, so cannot be changed.

If there are any side-effects, I will have to revert this change. Let's see how it works out in the next beta.