mirror of https://github.com/pret/pokecrystal.git
clean up formatting in preprocessor
This commit is contained in:
parent
a1a9fa5560
commit
9b4718d0c7
|
@ -180,7 +180,6 @@ chars = {
|
|||
"ょ": 0xE2,
|
||||
"ー": 0xE3,
|
||||
|
||||
|
||||
"@": 0x50,
|
||||
"#": 0x54,
|
||||
"…": 0x75,
|
||||
|
@ -442,7 +441,6 @@ def macro_translator(macro, token, line):
|
|||
# write out a comment showing the original line
|
||||
sys.stdout.write("; original_line: " + original_line)
|
||||
|
||||
|
||||
# "db" is a macro because of TextEndingCommand
|
||||
# rgbasm can handle "db" so no preprocessing is required
|
||||
# (don't check its param count)
|
||||
|
@ -545,7 +543,6 @@ def macro_translator(macro, token, line):
|
|||
|
||||
index += 1
|
||||
|
||||
|
||||
def include_file(asm):
|
||||
filename = asm.split("\"")
|
||||
filename = filename[1].replace("\"","").replace("\n","")
|
||||
|
@ -568,7 +565,6 @@ def read_line(l):
|
|||
# convert text to bytes when a quote appears (not in a comment)
|
||||
quote_translator(asm)
|
||||
|
||||
|
||||
# check against other preprocessor features
|
||||
else:
|
||||
macro, token = macro_test(asm)
|
||||
|
|
Loading…
Reference in New Issue