Browse Source

Fixed processing of macros by creating a preprocessing record on the parser.

pull/1/head
triton 13 years ago
parent
commit
95ef705082
  1. 2
      src/Parser/Parser.cpp

2
src/Parser/Parser.cpp

@ -152,7 +152,7 @@ void Parser::Setup(ParserOptions^ Opts)
if (C->hasPreprocessor()) if (C->hasPreprocessor())
{ {
Preprocessor& P = C->getPreprocessor(); Preprocessor& P = C->getPreprocessor();
//P.createPreprocessingRecord(); P.createPreprocessingRecord();
P.getBuiltinInfo().InitializeBuiltins(P.getIdentifierTable(), P.getBuiltinInfo().InitializeBuiltins(P.getIdentifierTable(),
P.getLangOpts()); P.getLangOpts());
} }

Loading…
Cancel
Save