commit | 92db073fcebc04c4ccfb2ab8618af4b5f8de70f8 | [log] [tgz] |
---|---|---|
author | Mathias Bynens <mathias@chromium.org> | Fri Dec 07 13:51:18 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Dec 10 08:15:57 2018 |
tree | 3965318f9b4321a9e5c47b9777a03ff98114eb2b | |
parent | f3cfbd35f39c4f2bd85c746157858f22c09f0567 [diff] |
[parser] Improve error message for unclosed function bodies This patch changes the output from: function fn() { ^ SyntaxError: Unexpected end of input to: function fn() { ^ SyntaxError: missing '}' after function body Bug: v8:6513, v8:7321 Change-Id: I4ca8a40fa0be246da2a3ff776b3fb3c87b4ba4e0 Also-By: gsathya@chromium.org Reviewed-on: https://chromium-review.googlesource.com/c/1367448 Commit-Queue: Mathias Bynens <mathias@chromium.org> Reviewed-by: Marja Hölttä <marja@chromium.org> Cr-Commit-Position: refs/heads/master@{#58116}
V8 is Google's open source JavaScript engine.
V8 implements ECMAScript as specified in ECMA-262.
V8 is written in C++ and is used in Google Chrome, the open source browser from Google.
V8 can run standalone, or can be embedded into any C++ application.
V8 Project page: https://github.com/v8/v8/wiki
Checkout depot tools, and run
fetch v8
This will checkout V8 into the directory v8
and fetch all of its dependencies. To stay up to date, run
git pull origin gclient sync
For fetching all branches, add the following into your remote configuration in .git/config
:
fetch = +refs/branch-heads/*:refs/remotes/branch-heads/* fetch = +refs/tags/*:refs/tags/*
Please follow the instructions mentioned on the V8 wiki.