mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
autogsdoc: Ignore __asm__ directives
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@39814 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5d51d364d8
commit
cc32d71d5a
2 changed files with 8 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
|||
2016-05-27 Niels Grewe <niels.grewe@halbordnung.de>
|
||||
|
||||
* Tools/AGSParser.m: Ignore __asm__ directives
|
||||
|
||||
2016-05-19 Seong Gu Lee <sgleehd@gmail.com>
|
||||
|
||||
* GNUmakefile:
|
||||
|
|
|
@ -1327,7 +1327,8 @@ recheck:
|
|||
[self skipStatementLine];
|
||||
goto fail;
|
||||
}
|
||||
if ([s isEqual: @"__attribute__"] == YES)
|
||||
if (([s isEqual: @"__attribute__"] == YES)
|
||||
|| ([s isEqual: @"__asm__"] == YES))
|
||||
{
|
||||
if ([self skipSpaces] < length && buffer[pos] == '(')
|
||||
{
|
||||
|
@ -1340,12 +1341,12 @@ recheck:
|
|||
|
||||
attr = [NSString stringWithCharacters: buffer + start
|
||||
length: pos - start];
|
||||
[self log: @"skip __attribute__ %@", attr];
|
||||
[self log: @"skip %@ %@", s, attr];
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
[self log: @"strange format __attribute__"];
|
||||
[self log: @"strange format %@", s];
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue