git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@13539 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
CaS 2002-04-25 09:08:54 +00:00
parent 7013871832
commit ab8d159b07
3 changed files with 16 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2002-04-25 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSParser.m: Interpret a mapping to '//' in the WordMap as
meaning that the resto of the line containing the mapped value
should be ignored.
2002-04-24 Gregory John Casamento <greg_casamento@yahoo.com> 2002-04-24 Gregory John Casamento <greg_casamento@yahoo.com>
* Tools/make_strings/GNUmakefile - modified to prevent build * Tools/make_strings/GNUmakefile - modified to prevent build

View file

@ -1155,6 +1155,11 @@ try:
} }
else if ([val length] > 0) else if ([val length] > 0)
{ {
if ([val isEqualToString: @"//"] == YES)
{
[self skipRemainderOfLine];
return [self parseIdentifier];
}
return val; // Got mapped identifier. return val; // Got mapped identifier.
} }
goto try; // Mapping removed the identifier. goto try; // Mapping removed the identifier.

View file

@ -294,7 +294,11 @@
in the source files to other words. Generally you will not have in the source files to other words. Generally you will not have
to use this, but it is sometimes helpful to avoid the parser being to use this, but it is sometimes helpful to avoid the parser being
confused by the use of C preprocessor macros. You can effectively confused by the use of C preprocessor macros. You can effectively
redefine the macro to something less confusing. redefine the macro to something less confusing.<br />
The value you map the identifier to must be one of -<br />
Another identifier,<br />
An empty string - the value is ignored,<br />
Two slashes ('//') - the rest of the line is ignored.<br />
</item> </item>
</list> </list>
<section> <section>