.cosmetics

git-svn-id: svn://ultimatepp.org/upp/trunk@8588 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2015-06-24 06:36:04 +00:00
parent 7e6d4866a4
commit ef005cf60e

View file

@ -1686,7 +1686,7 @@ void Parser::Do()
bool body = lex == '{';
for(int i = 0; i < r.GetCount(); i++) {
Decl& d = r[i];
if(d.name.GetCount())
if(d.name.GetCount()) {
if(d.function) {
if(!d.isfriend)
functionItem = &Fn(d, Null, body, String(), String());
@ -1713,6 +1713,7 @@ void Parser::Do()
if(im.IsData())
im.isptr = d.isptr;
}
}
}
if(body && functionItem && whenFnEnd) {
symbolsOutsideFunctions.Merge( lex.FinishStatCollection() );