Add clarification comment.
This commit is contained in:
committed by
sftnight
parent
b2da538302
commit
41b685f2f1
@ -271,6 +271,9 @@ namespace cling {
|
|||||||
/*size_reserve*/0, /*DelayInit*/false);
|
/*size_reserve*/0, /*DelayInit*/false);
|
||||||
CI->setASTContext(Ctx);
|
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) {
|
if (stateCollector) {
|
||||||
// Add the callback keeping track of the macro definitions
|
// Add the callback keeping track of the macro definitions
|
||||||
PP.addPPCallbacks(stateCollector);
|
PP.addPPCallbacks(stateCollector);
|
||||||
|
Reference in New Issue
Block a user