move AsmLine into crystalparts/asmline.py

This commit is contained in:
Bryan Bishop
2013-09-12 00:43:24 -05:00
parent 0ce2555a19
commit 7cb38df60b
3 changed files with 10 additions and 8 deletions

View File

@@ -7022,14 +7022,8 @@ def apply_diff(diff, try_fixing=True, do_compile=True):
os.system("mv ../main1.asm ../main.asm")
return False
class AsmLine:
# TODO: parse label lines
def __init__(self, line, bank=None):
self.line = line
self.bank = bank
def to_asm(self):
return self.line
import crystalparts.asmline
AsmLine = crystalparts.asmline.AsmLine
class Incbin:
def __init__(self, line, bank=None, debug=False):

View File

View File

@@ -0,0 +1,8 @@
class AsmLine:
# TODO: parse label lines
def __init__(self, line, bank=None):
self.line = line
self.bank = bank
def to_asm(self):
return self.line