Revert previous change which broke cling's testsuite.

The issue that was addressing the previous commit will be fixed with the upcoming
changes anyway.


git-svn-id: http://root.cern.ch/svn/root/trunk@46345 27541ba8-7e3a-0410-8455-c3a389f83636
This commit is contained in:
Vassil Vassilev 2012-10-05 14:03:29 +00:00
parent 2fbeb6ecd4
commit 6fd2a83a5c

View File

@ -31,14 +31,14 @@ namespace cling {
bool DynamicIDHandler::LookupUnqualified(LookupResult& R, Scope* S) {
if (!IsDynamicLookup(R, S))
return false;
InterpreterCallbacks* callbacks = m_Interpreter->getCallbacks();
if (callbacks && callbacks->isEnabled()) {
return callbacks->LookupObject(R, S);
}
if (!IsDynamicLookup(R, S))
return false;
DeclarationName Name = R.getLookupName();
IdentifierInfo* II = Name.getAsIdentifierInfo();
SourceLocation Loc = R.getNameLoc();