diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index 76488c372..8afc490d2 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -2991,7 +2991,7 @@ bool Tokenizer::simplifyTokenList() // Replace NULL with 0.. for (Token *tok = _tokens; tok; tok = tok->next()) { - if (tok->str() == "NULL" || tok->str() == "'\\0'") + if (tok->str() == "NULL" || tok->str() == "'\\0'" || tok->str() == "'\\x0'") { tok->str("0"); }