Fix unescaped argument types

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@25346 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2007-07-22 18:27:06 +00:00
parent d09e2096de
commit f6a2012d43
2 changed files with 8 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2007-07-22 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSOutput.m: escape angle brackets in types of function
arguments.
2007-07-19 Riccardo Mottola <riccardo@kaffe.org>
* Source/NSKeyValueCoding.m:

View file

@ -825,16 +825,16 @@ static BOOL snuggleStart(NSString *t)
NSString *s = [a objectForKey: @"BaseType"];
[str appendString: @" <arg type=\""];
[str appendString: s];
[str appendString: escapeType(s)];
s = [a objectForKey: @"Prefix"];
if (s != nil)
{
[str appendString: s];
[str appendString: escapeType(s)];
}
s = [a objectForKey: @"Suffix"];
if (s != nil)
{
[str appendString: s];
[str appendString: escapeType(s)];
}
[str appendString: @"\">"];
[str appendString: [a objectForKey: @"Name"]];