diff --git a/ChangeLog b/ChangeLog index 106b5325f..6d3b7760b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,9 @@ * Tools/AGSParser.m: Bugfix ... look for source files more intelligently. Try both current directory and relative to header. + * Tools/AGSOutput.m: When creating template output file for functions + etc because none was supplied, take account of the -Up flag and + create an up link in it. * Source/GSHTTPURLHandle.m: If response parsing fails, fail the load operation and (conditionally when debug enabled) log an error. diff --git a/Tools/AGSOutput.m b/Tools/AGSOutput.m index 0b7389dd6..101e0ec34 100644 --- a/Tools/AGSOutput.m +++ b/Tools/AGSOutput.m @@ -2031,6 +2031,8 @@ static BOOL snuggleStart(NSString *t) } else { + NSString *up = [ud stringForKey: @"Up"]; + /* * No pre-existing file, and no blank template available ... * Generate a standard template. @@ -2043,6 +2045,16 @@ static BOOL snuggleStart(NSString *t) [str appendString: @"\"http://www.gnustep.org/gsdoc-0_6_7.xml\">\n"]; [str appendString: @"\n"]; [str appendString: @" \n"]; [str appendString: @" "];