From 95ef705082d7f6fad3f531add2c87b20f8a28878 Mon Sep 17 00:00:00 2001 From: triton Date: Sat, 23 Feb 2013 21:13:19 +0000 Subject: [PATCH] Fixed processing of macros by creating a preprocessing record on the parser. --- src/Parser/Parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Parser/Parser.cpp b/src/Parser/Parser.cpp index 6d7dd5d7..06240a13 100644 --- a/src/Parser/Parser.cpp +++ b/src/Parser/Parser.cpp @@ -152,7 +152,7 @@ void Parser::Setup(ParserOptions^ Opts) if (C->hasPreprocessor()) { Preprocessor& P = C->getPreprocessor(); - //P.createPreprocessingRecord(); + P.createPreprocessingRecord(); P.getBuiltinInfo().InitializeBuiltins(P.getIdentifierTable(), P.getLangOpts()); }