Symbol database: Minor tweaks
This commit is contained in:
parent
8304290f06
commit
c7e5b941be
|
@ -1746,7 +1746,7 @@ Function::Function(const Tokenizer *_tokenizer, const Token *tok, const Scope *s
|
||||||
|
|
||||||
const Token *end = argDef->link();
|
const Token *end = argDef->link();
|
||||||
|
|
||||||
// Parse attributes
|
// parse function attributes..
|
||||||
tok = end->next();
|
tok = end->next();
|
||||||
while (tok) {
|
while (tok) {
|
||||||
if (tok->str() == "const")
|
if (tok->str() == "const")
|
||||||
|
@ -1775,7 +1775,7 @@ Function::Function(const Tokenizer *_tokenizer, const Token *tok, const Scope *s
|
||||||
tok = tok->next();
|
tok = tok->next();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!_tokenizer->isFunctionHead(end, ";")) {
|
if (_tokenizer->isFunctionHead(end, ":{")) {
|
||||||
// assume implementation is inline (definition and implementation same)
|
// assume implementation is inline (definition and implementation same)
|
||||||
token = tokenDef;
|
token = tokenDef;
|
||||||
arg = argDef;
|
arg = argDef;
|
||||||
|
|
Loading…
Reference in New Issue