diff --git a/lib/ctu.cpp b/lib/ctu.cpp index 4d15d26a6..fc6687c2c 100644 --- a/lib/ctu.cpp +++ b/lib/ctu.cpp @@ -41,7 +41,7 @@ static const char ATTR_MY_ARGNAME[] = "my-argname"; std::string CTU::getFunctionId(const Tokenizer *tokenizer, const Function *function) { - return tokenizer->list.file(function->tokenDef) + ':' + MathLib::toString(function->tokenDef->linenr()); + return tokenizer->list.file(function->tokenDef) + ':' + MathLib::toString(function->tokenDef->linenr()) + ':' + MathLib::toString(function->tokenDef->col()); } CTU::FileInfo::Location::Location(const Tokenizer *tokenizer, const Token *tok)