mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-26 02:01:03 +00:00
Tidied
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17165 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2443774853
commit
ec7af312f4
1 changed files with 8 additions and 3 deletions
|
@ -347,6 +347,7 @@
|
|||
{
|
||||
unichar *start = 0;
|
||||
BOOL isDocumentation = NO;
|
||||
BOOL skippedFirstLine = NO;
|
||||
NSRange r;
|
||||
|
||||
pos += 2; /* Skip opening part */
|
||||
|
@ -365,6 +366,7 @@
|
|||
if ([self skipSpaces] < length && buffer[pos] == '\n')
|
||||
{
|
||||
pos++;
|
||||
skippedFirstLine = YES;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -414,11 +416,14 @@
|
|||
* asterisk on each line should be stripped.
|
||||
* Otherwise we take the comment verbatim.
|
||||
*/
|
||||
while (ptr < end && *ptr != '\n')
|
||||
if (skippedFirstLine == NO)
|
||||
{
|
||||
ptr++;
|
||||
while (ptr < end && *ptr != '\n')
|
||||
{
|
||||
ptr++;
|
||||
}
|
||||
ptr++; // Step past the end of the first line.
|
||||
}
|
||||
ptr++; // Step past the end of the first line.
|
||||
while (ptr < end)
|
||||
{
|
||||
unichar c = *ptr++;
|
||||
|
|
Loading…
Reference in a new issue