Fixed #1887 (internal error in GLee)

This commit is contained in:
Robert Reif 2010-08-31 17:48:19 +02:00 committed by Daniel Marjamäki
parent dcc02166c6
commit 16efc9be26
1 changed files with 2 additions and 4 deletions

View File

@ -1443,7 +1443,8 @@ void Tokenizer::simplifyTypedef()
}
// skip over variable name
tok2 = tok2->next();
if (!inCast)
tok2 = tok2->next();
if (tok4 && functionPtrRetFuncPtr)
{
@ -1950,9 +1951,6 @@ bool Tokenizer::tokenize(std::istream &code, const char FileName[], const std::s
// typedef..
simplifyTypedef();
// Fix #1887 - the links are invalid after simplifyTypedef
createLinks();
// enum..
simplifyEnum();