mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-22 19:21:23 +00:00
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:
parent
1168aa1c1e
commit
9824a6b8df
1 changed files with 5 additions and 5 deletions
|
@ -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]];
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue