diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index 2956fe17d..3680f40d3 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -2912,7 +2912,7 @@ void Tokenizer::setVarIdNew() // Variable declaration can't start with "return", etc if (tok2->str() == "return" || tok2->str() == "NOT" || tok2->str() == "goto" || - (!isC() && (tok2->str() == "delete" || tok2->str() == "throw"))) + (!isC() && (tok2->str() == "delete" || tok2->str() == "throw" || tok2->str() == "using"))) continue; const bool decl = setVarIdParseDeclaration(&tok2, variableId, executableScope.top());