mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix for parsing octal and hex escapes
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@10135 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2a97b9caa3
commit
11d46ed1ba
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2001-06-09 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSString.m: parseQuotedString() ... fix for parsing octal
|
||||
and hex escape sequences.
|
||||
|
||||
2001-06-09 Nicola Pero <n.pero@mi.flashnet.it>
|
||||
|
||||
* configure.in (VERSION): Output a message saying that we are
|
||||
|
|
|
@ -4035,6 +4035,7 @@ static inline id parseQuotedString(pldata* pld)
|
|||
if (escaped == 10)
|
||||
{
|
||||
escaped = 0;
|
||||
k++;
|
||||
}
|
||||
}
|
||||
else if (c >= '0' && c <= '7')
|
||||
|
@ -4045,6 +4046,7 @@ static inline id parseQuotedString(pldata* pld)
|
|||
if (escaped == 4)
|
||||
{
|
||||
escaped = 0;
|
||||
k++;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue