From 42a0e91d154f8fefacedf3706e918553ef3a5677 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) original-commit-id: 2eeae555c5e4f2eed4b1e33d6f980fb5eeb93901 --- crystal.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3