diff options
author | Bryan Bishop <kanzure@gmail.com> | 2012-05-04 16:51:27 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2012-05-04 16:51:27 -0500 |
commit | 42a0e91d154f8fefacedf3706e918553ef3a5677 (patch) | |
tree | 4f24b57e92da45e82f1f5a241606137cc3272092 | |
parent | 9522b694a728b04782d4e0777f698df82b3b8458 (diff) |
fix was_comma statement (gah)
original-commit-id: 2eeae555c5e4f2eed4b1e33d6f980fb5eeb93901
-rw-r--r-- | crystal.py | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |