From 12caf1c10834113f8ad13566d013df083fbd1d43 Mon Sep 17 00:00:00 2001 From: CaS Date: Tue, 31 Dec 2002 10:12:43 +0000 Subject: [PATCH] Minor fixes git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@15421 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 2 ++ Tools/AGSHtml.m | 2 +- Tools/AGSParser.m | 10 +++++----- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index c6225a5d0..673ac0704 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,8 @@ * Source/externs.m: Remove map and hash table stuff * Headers/gnustep/base/NSMapTable.h: Update for macosx compatibility. * Headers/gnustep/base/NSHashTable.h: Ditto + * Tools/AGSHtml.m: Fix typo ... excess semicolon in constant output. + * Tools/AGSParser.m: Fix error failing to find comment for constants. 2002-12-30 Adam Fedor diff --git a/Tools/AGSHtml.m b/Tools/AGSHtml.m index 1f1ba88f5..89d97bc5f 100644 --- a/Tools/AGSHtml.m +++ b/Tools/AGSHtml.m @@ -558,7 +558,7 @@ static NSMutableSet *textNodes = nil; nam = [prop objectForKey: @"name"]; str = [prop objectForKey: @"type"]; str = [self typeRef: str]; - str = [str stringByAppendingFormat: @" %@;", nam]; + str = [str stringByAppendingFormat: @" %@", nam]; /* * Output heading. diff --git a/Tools/AGSParser.m b/Tools/AGSParser.m index 220342da7..61d5e00f7 100644 --- a/Tools/AGSParser.m +++ b/Tools/AGSParser.m @@ -1383,12 +1383,12 @@ { [self parseComment]; } - if (comment != nil) - { - [self appendComment: comment to: d]; - } - DESTROY(comment); } + if (comment != nil) + { + [self appendComment: comment to: d]; + } + DESTROY(comment); RELEASE(arp); if (inArgList == NO)