From 301f639f73eb8fafd3e398174fa3fdd3312730e7 Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Mon, 26 Jan 2015 16:58:41 +1100 Subject: [PATCH] fix incorrect parseExpression arguments - not sure where this came from --- acorn.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acorn.js b/acorn.js index e0029689b3..13e8bec5ed 100644 --- a/acorn.js +++ b/acorn.js @@ -2628,7 +2628,7 @@ // next token is a colon and the expression was a simple // Identifier node, we switch to interpreting it as a label. default: - var maybeName = tokVal, expr = parseExpression(false, true); + var maybeName = tokVal, expr = parseExpression(); if (options.ecmaVersion >= 7 && starttype === _name && maybeName === "async" && tokType === _function && !canInsertSemicolon()) { next();