Autorelease pool fix

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13982 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2002-06-27 09:32:58 +00:00
parent 3ddfdab26d
commit 4d2e25e520
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2002-06-27 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSParser.m: ([-parseMethodIsDeclaration:]) Correct wrongly
positioned autorelease pool in last change. Hope that's the only one.
Wed Jun 26 15:32:36 2002 Nicola Pero <n.pero@mi.flashnet.it>
* base.make.in (OBJC_LIBS): Don't add -lobjc_gc -lgc for gc=yes,

View file

@ -331,10 +331,10 @@
- (NSMutableDictionary*) parseDeclaration
{
NSMutableDictionary *d = [NSMutableDictionary dictionary];
#if GS_WITH_GC == 0
CREATE_AUTORELEASE_POOL(arp);
#endif
NSMutableDictionary *d = [NSMutableDictionary dictionary];
static NSSet *qualifiers = nil;
static NSSet *keep = nil;
NSMutableString *t = nil;
@ -740,7 +740,7 @@
if (inArgList == NO)
{
/*
* This is a top-level declaration, so lets tidy up ready for
* This is a top-level declaration, so let's tidy up ready for
* linking into the documentation tree.
*/
if ([d objectForKey: @"Name"] == nil)