mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-21 22:04:56 -06:00
.cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@8588 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
7e6d4866a4
commit
ef005cf60e
1 changed files with 2 additions and 1 deletions
|
|
@ -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() );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue