Say where the .x function comes from.

This commit is contained in:
Axel Naumann 2015-02-25 15:55:29 +01:00 committed by sftnight
parent c2224aeff7
commit bcd1973100

View File

@ -102,6 +102,8 @@ namespace cling {
StringRefPair pairFuncExt = pairPathFile.second.rsplit('.');
std::string expression = pairFuncExt.first.str() + "(" + args.str() + ")";
// Give the user some context in case we have a problem in an invocation.
expression += " /* invoking function corresponding to '.x' */";
assert(T);