From ef005cf60ea343633dd37fef840ac5b207108501 Mon Sep 17 00:00:00 2001 From: cxl Date: Wed, 24 Jun 2015 06:36:04 +0000 Subject: [PATCH] .cosmetics git-svn-id: svn://ultimatepp.org/upp/trunk@8588 f0d560ea-af0d-0410-9eb7-867de7ffcac7 --- uppsrc/CppBase/Parser.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uppsrc/CppBase/Parser.cpp b/uppsrc/CppBase/Parser.cpp index 2e15c40e9..7e9c277c4 100644 --- a/uppsrc/CppBase/Parser.cpp +++ b/uppsrc/CppBase/Parser.cpp @@ -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() );