Bug #378
Inverse action for If()...Endif() wrong if there is no Else().
Experiment:
Co-Assignees:
Description
Ups makes the un-action of Endif() an Unless(), and the unaction of an If() an EndUnless();
but this is only correct if there is an Else(). If there is no Else, the un-action of
If() should be EndIf() and the unaction of Endif() should be If()
History
#1 Updated by Marc Mengel almost 11 years ago
- % Done changed from 0 to 30
Put in r2633 to try to address this; in the reverse list code, we watch to see
if we've seen an else() at each nesting level, and when we get to making the
un-action for the endif()/endunless(), we check the else flag for this nesting
level to see which way we should go... Set the nesting depth to 20 for now.
Will probably regret that one day.
#2 Updated by Marc Mengel almost 11 years ago
For a good time, try out the change :-)
#3 Updated by Marc Mengel almost 11 years ago
- Target version set to v4_8
#4 Updated by Marc Mengel almost 9 years ago
- Status changed from New to Resolved
#5 Updated by Marc Mengel almost 4 years ago
- Status changed from Resolved to Closed