diff --git a/src/reparse.coffee b/src/reparse.coffee index 4a74dd8..2bb35e0 100644 --- a/src/reparse.coffee +++ b/src/reparse.coffee @@ -44,7 +44,7 @@ exports.ReParse = class ReParse # Execute a production, which could be a function or a RegExp. produce: (method) => - val = if (method instanceof RegExp) then @match(method) else method.call(this) + val = if (method instanceof RegExp) then @match(method) else method.call(@) @skipWS() if @ignorews val