http://codereview.chromium.org/6144005/diff/1/src/parser.cc
File src/parser.cc (right):

http://codereview.chromium.org/6144005/diff/1/src/parser.cc#newcode1084
src/parser.cc:1084: if (peek() == Token::STRING) {
Argh, location should be:
  Scanner::Location location = scanner().peek_location();
and the literal test should be:
  Literal* literal = expr_stat->AsLiteral();
  if (literal != NULL && literal->handle()->IsString()) {
    Handle<String> prologue = Handle<String>::cast(literal->handle());
    ...

http://codereview.chromium.org/6144005/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to