зеркало из https://github.com/mozilla/pjs.git
Strings terminated by a newline instead of a closing quote should be handled as errors, not strings. b=286262 r+sr=bzbarsky
This commit is contained in:
Родитель
dc22d7c581
Коммит
6bd0ca6473
|
@ -1078,7 +1078,7 @@ PRBool nsCSSScanner::GatherString(nsresult& aErrorCode, PRInt32 aStop,
|
|||
{
|
||||
for (;;) {
|
||||
if (EatNewline(aErrorCode)) {
|
||||
break;
|
||||
return PR_FALSE;
|
||||
}
|
||||
PRInt32 ch = Read(aErrorCode);
|
||||
if (ch < 0) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче