Improve E4X syntax error reporting. r=nnethercote, a=shaver. (relanding in a CLOSED TREE)

This commit is contained in:
Jeff Walden 2011-02-20 15:07:25 -08:00
parent 79b4ee7847
commit 4acdd015ce

View File

@ -857,6 +857,7 @@ TokenStream::getTokenInternal()
c = getChar();
} while (JS_ISXMLSPACE(c));
ungetChar(c);
tp->pos.end.lineno = lineno;
tt = TOK_XMLSPACE;
goto out;
}