From 871823e9c623d4b112970321e7869156c9e5d78e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 22 Apr 2012 10:38:06 +0200 Subject: [PATCH] Tokenizer::setVarId: fixed problem for classes with inheritance --- lib/tokenize.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index 094086eed..689f804ca 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -3062,6 +3062,7 @@ void Tokenizer::setVarIdNew() } while (tok && (tok->isName() || tok->str() == ",")); if (!tok) break; + tok = tok->previous(); } }