diff --git a/src/token.cpp b/src/token.cpp index c04c9b3e7..744b078c9 100644 --- a/src/token.cpp +++ b/src/token.cpp @@ -393,7 +393,8 @@ bool Token::Match(const Token *tok, const char pattern[], unsigned int varid) { if (varid == 0) { - std::cerr << "\n###### If you see this, there is a bug ###### Token::Match() - varid was 0" << std::endl; + std::cerr << "\n###### If you see this, there is a bug ######" << std::endl + << "Token::Match(\"" << pattern << "\", 0)" << std::endl; } if (tok->varId() != varid)