From 878548387855e13156051610b7fe04a8fb2a8e71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 18 Jan 2009 16:42:15 +0000 Subject: [PATCH] preprocessor: Reactivated the expandMacros. This time it's done after the #if #else #endif has been processed --- src/preprocessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/preprocessor.cpp b/src/preprocessor.cpp index 04ed6e9d6..3fc5d9bce 100644 --- a/src/preprocessor.cpp +++ b/src/preprocessor.cpp @@ -440,7 +440,7 @@ std::string Preprocessor::getcode(const std::string &filedata, std::string cfg) ret << line << "\n"; } - return ret.str(); + return expandMacros(ret.str()); }