From b261e5df25fd249154d40805d5ce208623c01aef Mon Sep 17 00:00:00 2001 From: Eric Sesterhenn Date: Thu, 29 Apr 2010 18:30:23 +0200 Subject: [PATCH] Fixed #1634 (Null character not correctly tokenized) --- lib/tokenize.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }