Fix parsing of octal escape sequences.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@17863 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2003-10-14 15:38:31 +00:00
parent 0d55588d8a
commit ced5193b8d
2 changed files with 6 additions and 1 deletions

View file

@ -4614,7 +4614,7 @@ static inline id parseQuotedString(pldata* pld)
{
if (escaped == 1 && c >= '0' && c <= '7')
{
chars[k] = 0;
chars[k] = c - '0';
hex = NO;
escaped++;
}