mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
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:
parent
930497a667
commit
d94e39aa9f
1 changed files with 6 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue