Various documentation releated fixes/improvements.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22190 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2005-12-20 19:17:46 +00:00
parent 307b15f838
commit 9c7e002cc0
4 changed files with 42 additions and 3 deletions

View file

@ -1089,6 +1089,24 @@
}
else
{
if ([s isEqualToString: @"extern"] == YES
&& [self skipSpaces] < length - 3 && buffer[pos] == '\"'
&& buffer[pos+1] == 'C' && buffer[pos+2] == '\"')
{
/*
* Found 'extern "C" ...'
* Which is for C++ and should be ignored
*/
pos += 3;
if ([self skipSpaces] < length && buffer[pos] == '{')
{
pos++;
[self skipSpaces];
}
DESTROY(arp);
return nil;
}
if ([s isEqualToString: @"typedef"] == YES)
{
isTypedef = YES;
@ -1483,6 +1501,11 @@
}
[self skipBlock];
}
else if (buffer[pos] == '}')
{
pos++; // Ignore extraneous '}'
[self skipSpaces];
}
else
{
[self log: @"Unexpected char (%c) in declaration", buffer[pos]];