summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-05-04 16:51:27 -0500
committerBryan Bishop <kanzure@gmail.com>2012-05-04 16:51:27 -0500
commit42a0e91d154f8fefacedf3706e918553ef3a5677 (patch)
tree4f24b57e92da45e82f1f5a241606137cc3272092
parent9522b694a728b04782d4e0777f698df82b3b8458 (diff)
fix was_comma statement (gah)
original-commit-id: 2eeae555c5e4f2eed4b1e33d6f980fb5eeb93901
-rw-r--r--crystal.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/crystal.py b/crystal.py
index 6e6f305..3765c4c 100644
--- a/crystal.py
+++ b/crystal.py
@@ -1852,10 +1852,13 @@ class MainText(TextCommand):
if not was_comma:
output += ", "
output += "$%.2x\n" % (byte)
- was_comma = True
+ was_comma = False
new_line = True
elif byte == 0x50:
assert not new_line, "can't have $50 or '@' as the first character on a newline"
+
+ if in_quotes:
+ output += "@\""
pass
# TODO