mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-26 10:11: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;
|
unichar *start = 0;
|
||||||
BOOL isDocumentation = NO;
|
BOOL isDocumentation = NO;
|
||||||
|
BOOL skippedFirstLine = NO;
|
||||||
NSRange r;
|
NSRange r;
|
||||||
|
|
||||||
pos += 2; /* Skip opening part */
|
pos += 2; /* Skip opening part */
|
||||||
|
@ -365,6 +366,7 @@
|
||||||
if ([self skipSpaces] < length && buffer[pos] == '\n')
|
if ([self skipSpaces] < length && buffer[pos] == '\n')
|
||||||
{
|
{
|
||||||
pos++;
|
pos++;
|
||||||
|
skippedFirstLine = YES;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -414,11 +416,14 @@
|
||||||
* asterisk on each line should be stripped.
|
* asterisk on each line should be stripped.
|
||||||
* Otherwise we take the comment verbatim.
|
* 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)
|
while (ptr < end)
|
||||||
{
|
{
|
||||||
unichar c = *ptr++;
|
unichar c = *ptr++;
|
||||||
|
|
Loading…
Reference in a new issue