fix was_comma statement (gah)

This commit is contained in:
Bryan Bishop
2012-05-04 16:51:27 -05:00
parent cb0bcb77b9
commit 2eeae555c5

View File

@@ -1852,10 +1852,13 @@ class MainText(TextCommand):
if not was_comma: if not was_comma:
output += ", " output += ", "
output += "$%.2x\n" % (byte) output += "$%.2x\n" % (byte)
was_comma = True was_comma = False
new_line = True new_line = True
elif byte == 0x50: elif byte == 0x50:
assert not new_line, "can't have $50 or '@' as the first character on a newline" assert not new_line, "can't have $50 or '@' as the first character on a newline"
if in_quotes:
output += "@\""
pass pass
# TODO # TODO