From e2cfea359803a1f05caa1186689eaabe28d844e7 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sat, 28 Apr 2012 11:08:05 -0500 Subject: temporary fix to prevent TextScript from appending @s original-commit-id: d4508d9beda76be00c79296e88129a5dcfd908d2 --- crystal.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crystal.py') diff --git a/crystal.py b/crystal.py index 3786e13..0495395 100644 --- a/crystal.py +++ b/crystal.py @@ -725,7 +725,9 @@ class TextScript: address = self.address start_address = address if label == None: label = self.label.name - commands = self.commands + #using deepcopy because otherwise additional @s get appended each time + #like to the end of the text for TextScript(0x5cf3a) + commands = deepcopy(self.commands) #apparently this isn't important anymore? needs_to_begin_with_0 = True #start with zero please -- cgit v1.2.3