Walter Bright <[email protected]> wrote: > We've already put a number of special cases in the grammar to ward off "bugs". > > But I worry that we might wind up tarting up the language with too many a > boatload of them, to the point where it becomes a confusing mass. At what > point should Meg Ryan stop with the plastic surgery? :-)
The surgery is just that you need to add an error or warning when you see an IfStatementWithElse (and TryStatement too?) used directly in a ScopeStatement, and change ElseStatement's rule to IfStatementWithElse | ScopeStatement.
