From e321f0c23eab77bf9ac17cf59c6a93e0d597c786 Mon Sep 17 00:00:00 2001 From: David Majda Date: Sat, 14 Dec 2013 21:08:26 +0100 Subject: [PATCH] Fix JSHint error in lib/compiler/passes/generate-bytecode.js Fixes the following JSHint error: lib/compiler/passes/generate-bytecode.js: line 334, col 71, Expected an assignment or function call and instead saw an expression. --- lib/compiler/passes/generate-bytecode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/compiler/passes/generate-bytecode.js b/lib/compiler/passes/generate-bytecode.js index f2093a1..407caa3 100644 --- a/lib/compiler/passes/generate-bytecode.js +++ b/lib/compiler/passes/generate-bytecode.js @@ -325,7 +325,7 @@ module.exports = function(ast) { action: function(node, context) { var env = { }, emitCall = node.expression.type !== "sequence" - || node.expression.elements.length === 0; + || node.expression.elements.length === 0, expressionCode = generate(node.expression, { sp: context.sp + (emitCall ? 1 : 0), env: env,