From 5bc8b861f6f9260606934a22ab05d706963e042d Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Thu, 26 Apr 2012 14:37:42 -0500 Subject: [PATCH] remove newlines from guessed macro names in preprocessor --- textpre.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/textpre.py b/textpre.py index a15881ef3..00bacd62f 100644 --- a/textpre.py +++ b/textpre.py @@ -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):