{} groups were simply forgotten about if they did not contain a

variable that printed.  This does not allow {...}<..>{...} as the
separator will print depending on what is on the other side of the
groups.  

updated the code to add a 'non printed variable' code in place of the
group when it does not print.  So groups are now treated like regular
variables.



svn: r19375
This commit is contained in:
Craig J. Anderson 2012-04-22 12:58:42 +00:00
parent 5b8c41bfb1
commit 113a8bce3a

View File

@ -662,6 +662,8 @@ class VarStringSecond(VarStringBase):
def merge(self, acquisition):
""" Merge the content of acquisition into this place. """
if acquisition.the_state != TXT.display:
#The sub {} was TXT.remove. We don't want to simply ignore it.
self.add_remove() #add a remove que here to note it.
return
if acquisition.the_state > self.the_state: