Project

General

Profile

Bug #378

Inverse action for If()...Endif() wrong if there is no Else().

Added by Marc Mengel over 9 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
03/26/2010
Due date:
% Done:

30%

Estimated time:
Spent time:
Experiment:
Duration:

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 over 9 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 over 9 years ago

For a good time, try out the change :-)

#3 Updated by Marc Mengel over 9 years ago

  • Target version set to v4_8

#4 Updated by Marc Mengel over 7 years ago

  • Status changed from New to Resolved

#5 Updated by Marc Mengel over 2 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF