From 2eeae555c5e4f2eed4b1e33d6f980fb5eeb93901 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Fri, 4 May 2012 16:51:27 -0500 Subject: fix was_comma statement (gah) --- extras/crystal.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'extras/crystal.py') diff --git a/extras/crystal.py b/extras/crystal.py index 6e6f30531..3765c4c8c 100644 --- a/extras/crystal.py +++ b/extras/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 -- cgit v1.2.3