diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index 4f89fb005..41265ce56 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -2953,6 +2953,7 @@ void Tokenizer::setVarIdNew() notstart.insert("goto"); notstart.insert("NOT"); notstart.insert("return"); + notstart.insert("sizeof"); if (!isC()) { const char *str[] = {"delete","friend","new","throw","using","virtual"}; notstart.insert(str, str+(sizeof(str)/sizeof(*str)));