Add clarification comment.

This commit is contained in:
Vassil Vassilev 2013-11-25 11:02:00 +01:00 committed by sftnight
parent b2da538302
commit 41b685f2f1

View File

@ -271,6 +271,9 @@ namespace cling {
/*size_reserve*/0, /*DelayInit*/false);
CI->setASTContext(Ctx);
//FIXME: This is bad workaround for use-cases which need only a CI to parse
//things, like pragmas. In that case we cannot controll the interpreter's
// state collector thus detach from whatever possible.
if (stateCollector) {
// Add the callback keeping track of the macro definitions
PP.addPPCallbacks(stateCollector);