From 000e03c85dba722844c8f4275565584cad212a96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Debrard?= Date: Sat, 22 Jan 2011 14:06:02 +0100 Subject: [PATCH] is booelan --- lib/tokenize.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index c42a7151b..8fdc5bc5e 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -5719,6 +5719,10 @@ void Tokenizer::simplifyStdType() tok->isUnsigned(isUnsigned); tok->isSigned(!isUnsigned); } + if (Token::Match(tok, "bool")) + { + tok->isBoolean(true); + } if (Token::Match(tok, "__int8")) tok->str("char");