mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
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:
parent
307b15f838
commit
9c7e002cc0
4 changed files with 42 additions and 3 deletions
|
@ -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]];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue