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.
redux
David Majda 11 years ago
parent b3c6a997b0
commit e321f0c23e

@ -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,

Loading…
Cancel
Save