o fixed exception format/arguments problem reported

by David Ayers  <d.ayers@inode.at>
in _skipQuotedStringWithQuote:index:stopIndex:


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19038 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Manuel Guesdon 2004-04-06 11:09:27 +00:00
parent 1168aa1c1e
commit 9824a6b8df

View file

@ -286,13 +286,13 @@ An exception is raised if the end quote is not found,...
if (*indexPtr>stopIndex)
[NSException raise:NSInvalidArgumentException
format:@"Found end of string before end quote when "
@"skipping quoted string starting at %d.",
[self currentLineIndex]];
@"skipping quoted string starting at %@.",
[self currentLineAndColumnIndexesString]];
else
[NSException raise:NSInvalidArgumentException
format:@"Didn't find end quote when skipping quoted "
@"string starting at %d. Found '%c' instead",
[self currentLineIndex],(char)_uniBuf[_index]];
format:@"Didn't found end quote when skipping quoted "
@"string starting at %@. Found '%c' instead",
[self currentLineAndColumnIndexesString],(char)_uniBuf[_index]];
};