Commit fe12e103 authored by Jamie A. Jennings's avatar Jamie A. Jennings

Added 2 missing "local" decls

parent f295823b
......@@ -713,7 +713,7 @@ end
-- Compile block
---------------------------------------------------------------------------------------------------
function initialize_bindings(stmts, pkgenv, prefix, messages)
local function initialize_bindings(stmts, pkgenv, prefix, messages)
for _, b in ipairs(stmts) do
assert(ast.binding.is(b)) -- ensured by expand.block()
local ref = b.ref
......@@ -742,7 +742,7 @@ function initialize_bindings(stmts, pkgenv, prefix, messages)
return true
end
function compile_statements(stmts, pkgenv, prefix, messages)
local function compile_statements(stmts, pkgenv, prefix, messages)
local uncompiled = {}
for _, b in ipairs(stmts) do
local ref, exp = b.ref, b.exp
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment