Fixed #1887 (internal error in GLee)
This commit is contained in:
parent
dcc02166c6
commit
16efc9be26
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue