mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
remove newlines from guessed macro names in preprocessor
This commit is contained in:
parent
386a688eca
commit
5bc8b861f6
@ -366,7 +366,7 @@ def quote_translator(asm):
|
||||
return
|
||||
|
||||
def extract_token(asm):
|
||||
token = asm.split(" ")[0].replace("\t", "")
|
||||
token = asm.split(" ")[0].replace("\t", "").replace("\n", "")
|
||||
return token
|
||||
|
||||
def macro_test(asm):
|
||||
|
Loading…
Reference in New Issue
Block a user