Commit 55a6588d authored by adamk's avatar adamk Committed by Commit bot

Fix typo in ExpressionClassifier cleanup

"ExpressionProductions" was missing the plural. I don't think this
changed any behavior, but I'd rather be safe than sorry. Also
removed redundant mention of TailCall production.

A future patch will attempt to make calls to Accumulate make more sense,
in general.

R=littledan@chromium.org

Review-Url: https://codereview.chromium.org/2270153002
Cr-Commit-Position: refs/heads/master@{#38842}
parent ad07b49d
......@@ -2429,8 +2429,7 @@ ParserBase<Impl>::ParseAssignmentExpression(bool accept_IN,
if (!is_destructuring_assignment) {
// This may be an expression or a pattern, so we must continue to
// accumulate expression-related errors.
productions |= ExpressionClassifier::ExpressionProduction |
ExpressionClassifier::TailCallExpressionProduction |
productions |= ExpressionClassifier::ExpressionProductions |
ExpressionClassifier::ObjectLiteralProduction;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment