From 9c0423638a257ac67e9b40fcf933b41c7261e832 Mon Sep 17 00:00:00 2001 From: pygy Date: Mon, 15 Aug 2011 23:26:32 +0300 Subject: [PATCH] typo --- moonscript/parse.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/moonscript/parse.lua b/moonscript/parse.lua index 08e1fed..346fbf0 100644 --- a/moonscript/parse.lua +++ b/moonscript/parse.lua @@ -1,4 +1,3 @@ - module("moonscript.parse", package.seeall) local util = require"moonscript.util" @@ -51,7 +50,7 @@ local TermOp = Space * C(S"*/%^") local Shebang = P"#!" * P(1 - Stop)^0 local function wrap(fn) - local env = getfenv(fi) + local env = getfenv(fn) return setfenv(fn, setmetatable({}, { __index = function(self, name)