e6f4b7491c
Enables the Scanner to provide a better error message when errors occur in escape sequences, numbers, strings, etc. BUG=v8:4829, v8:3230 LOG=N R=adamk@chromium.org, littledan@chromium.org Review URL: https://codereview.chromium.org/1793913002 Cr-Commit-Position: refs/heads/master@{#34966}
9 lines
303 B
Plaintext
9 lines
303 B
Plaintext
# Copyright 2016 the V8 project authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
*%(basename)s:5: SyntaxError: Invalid Unicode escape sequence
|
|
print("\u162P");
|
|
^^^^^^
|
|
SyntaxError: Invalid Unicode escape sequence
|