Reviewers: wingo, marja,
Description:
Fix unintentional typo in Parser::ParseLazy() comments
BUG=
LOG=N
NOTRY=true
Please review this at https://codereview.chromium.org/1022413003/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+1, -1 lines):
M src/parser.cc
Index: src/parser.cc
diff --git a/src/parser.cc b/src/parser.cc
index
f24f7107d8fd444235349dcc2601166dcc8ebbdc..be8c3f30de25af5f19fe5285a8411083486f9390
100644
--- a/src/parser.cc
+++ b/src/parser.cc
@@ -1150,7 +1150,7 @@ FunctionLiteral* Parser::ParseLazy(Isolate* isolate,
ParseInfo* info,
// stack overflow, at which point the partially parsed arrow
// function concise body happens to be a valid expression. This
// is a problem only for arrow functions with single statement
- // bodies, since there is no end token suck as "}" for normal
+ // bodies, since there is no end token such as "}" for normal
// functions.
if (scanner()->location().end_pos == shared_info->end_position()) {
// The pre-parser saw an arrow function here, so the full parser
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.