diff --git a/lib/compiler/passes/generate-javascript.js b/lib/compiler/passes/generate-javascript.js index 6ec7c0e..61a5bce 100644 --- a/lib/compiler/passes/generate-javascript.js +++ b/lib/compiler/passes/generate-javascript.js @@ -158,7 +158,7 @@ function generateJavascript(ast, options) { ' while (true) {', ' while (ip < end) {', ' switch (bc[ip]) {', - ' case ' + op.PUSH + ':', // PUSH c + ' case ' + op.PUSH + ':', // PUSH c ' stack.push(peg$consts[bc[ip + 1]]);', ' ip += 2;', ' break;',