typedef: better handling. ticket: #2414
This commit is contained in:
parent
188871c428
commit
ed6f683573
|
@ -1645,9 +1645,12 @@ void Tokenizer::simplifyTypedef()
|
||||||
tok2 = tok2->next();
|
tok2 = tok2->next();
|
||||||
}
|
}
|
||||||
|
|
||||||
// skip over variable name
|
// skip over variable name if there
|
||||||
if (!inCast)
|
if (!inCast)
|
||||||
tok2 = tok2->next();
|
{
|
||||||
|
if (tok2->next()->str() != ")")
|
||||||
|
tok2 = tok2->next();
|
||||||
|
}
|
||||||
|
|
||||||
if (tok4 && functionPtrRetFuncPtr)
|
if (tok4 && functionPtrRetFuncPtr)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue