From 8b32e0505411d778a452d3c9b8427d62365a8c76 Mon Sep 17 00:00:00 2001 From: CaS Date: Thu, 27 Jun 2002 09:32:58 +0000 Subject: [PATCH] Autorelease pool fix git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13982 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 5 +++++ Tools/AGSParser.m | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 338951fdb..0181d0ae3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-06-27 Richard Frith-Macdonald + + * 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 * base.make.in (OBJC_LIBS): Don't add -lobjc_gc -lgc for gc=yes, diff --git a/Tools/AGSParser.m b/Tools/AGSParser.m index 6ac4e0c25..ae4cac5d0 100644 --- a/Tools/AGSParser.m +++ b/Tools/AGSParser.m @@ -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)