mirror of https://github.com/pret/pokecrystal.git
don't mix tabs/whitespace
This commit is contained in:
parent
ad6e271dec
commit
b710b8721e
|
@ -579,7 +579,7 @@ def read_line(l):
|
||||||
|
|
||||||
# export all labels
|
# export all labels
|
||||||
if ':' in asm[:asm.find('"')]:
|
if ':' in asm[:asm.find('"')]:
|
||||||
sys.stdout.write('GLOBAL ' + asm.split(':')[0] + '\n')
|
sys.stdout.write('GLOBAL ' + asm.split(':')[0] + '\n')
|
||||||
|
|
||||||
# expect preprocessed .asm files
|
# expect preprocessed .asm files
|
||||||
if "INCLUDE" in asm:
|
if "INCLUDE" in asm:
|
||||||
|
|
11
prequeue.py
11
prequeue.py
|
@ -9,9 +9,8 @@ import sys
|
||||||
import preprocessor
|
import preprocessor
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
for source in sys.argv[1:]:
|
for source in sys.argv[1:]:
|
||||||
dest = os.path.splitext(source)[0] + '.tx'
|
dest = os.path.splitext(source)[0] + '.tx'
|
||||||
sys.stdin = open(source, 'r')
|
sys.stdin = open(source, 'r')
|
||||||
sys.stdout = open(dest, 'w')
|
sys.stdout = open(dest, 'w')
|
||||||
preprocessor.preprocess()
|
preprocessor.preprocess()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue