Fixing bug 291591

\<LineTerminator> in string literals is removed from the resulting string to follow SpiderMonkey and C/C++
This commit is contained in:
igor%mir2.org 2005-07-31 13:48:46 +00:00
parent b4b1da73a3
commit 5839d1a3e2

View File

@ -574,6 +574,12 @@ class TokenStream
}
break;
case '\n':
// Remove line terminator after escape to follow
// SpiderMonkey and C/C++
c = getChar();
continue strLoop;
default:
if ('0' <= c && c < '8') {
int val = c - '0';