Minor bugfix

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@11759 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2001-12-15 08:24:46 +00:00
parent 930497a667
commit d94e39aa9f

View file

@ -127,7 +127,7 @@
fileName = name;
if (declared == nil)
{
ASSIGN(declared, fileName);
ASSIGN(declared, [fileName lastPathComponent]);
}
unitName = nil;
itemName = nil;
@ -1117,6 +1117,11 @@ fail:
pos = 0;
}
/**
* Set the name of the file in which classes are to be documented as
* being declared. The default value of this is the last part of the
* path of the source file being parsed.
*/
- (void) setDeclared: (NSString*)name
{
ASSIGN(declared, name);