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
|
||||
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
|
||||
if "INCLUDE" in asm:
|
||||
|
|
11
prequeue.py
11
prequeue.py
|
@ -9,9 +9,8 @@ import sys
|
|||
import preprocessor
|
||||
|
||||
if __name__ == '__main__':
|
||||
for source in sys.argv[1:]:
|
||||
dest = os.path.splitext(source)[0] + '.tx'
|
||||
sys.stdin = open(source, 'r')
|
||||
sys.stdout = open(dest, 'w')
|
||||
preprocessor.preprocess()
|
||||
|
||||
for source in sys.argv[1:]:
|
||||
dest = os.path.splitext(source)[0] + '.tx'
|
||||
sys.stdin = open(source, 'r')
|
||||
sys.stdout = open(dest, 'w')
|
||||
preprocessor.preprocess()
|
||||
|
|
Loading…
Reference in New Issue