Fixed #1887 (internal error in GLee)
This commit is contained in:
parent
dcc02166c6
commit
16efc9be26
|
@ -1443,6 +1443,7 @@ void Tokenizer::simplifyTypedef()
|
||||||
}
|
}
|
||||||
|
|
||||||
// skip over variable name
|
// skip over variable name
|
||||||
|
if (!inCast)
|
||||||
tok2 = tok2->next();
|
tok2 = tok2->next();
|
||||||
|
|
||||||
if (tok4 && functionPtrRetFuncPtr)
|
if (tok4 && functionPtrRetFuncPtr)
|
||||||
|
@ -1950,9 +1951,6 @@ bool Tokenizer::tokenize(std::istream &code, const char FileName[], const std::s
|
||||||
// typedef..
|
// typedef..
|
||||||
simplifyTypedef();
|
simplifyTypedef();
|
||||||
|
|
||||||
// Fix #1887 - the links are invalid after simplifyTypedef
|
|
||||||
createLinks();
|
|
||||||
|
|
||||||
// enum..
|
// enum..
|
||||||
simplifyEnum();
|
simplifyEnum();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue