diff --git a/src/emitter.js b/src/emitter.js index 0db7241..5791aac 100644 --- a/src/emitter.js +++ b/src/emitter.js @@ -505,8 +505,6 @@ PEG.compiler.emitter = function(ast) { }, semantic_and: function(node, resultVar) { - var savedPosVar = UID.next("savedPos"); - return formatCode( "var ${resultVar} = (function() {${actionCode}})() ? '' : null;", { @@ -517,8 +515,6 @@ PEG.compiler.emitter = function(ast) { }, semantic_not: function(node, resultVar) { - var savedPosVar = UID.next("savedPos"); - return formatCode( "var ${resultVar} = (function() {${actionCode}})() ? null : '';", {