Skip to content

Commit 8594047

Browse files
committed
fixed amalgamation in case module starts with parenthesis
1 parent 096743f commit 8594047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/amalg.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ local function amalgamate( ... )
177177
out:write( "local _ENV = _ENV\n",
178178
"package.preload[ ", ("%q"):format( m ),
179179
" ] = function( ... ) ",
180-
afix and "local arg = _G.arg\n" or "_ENV = _ENV\n",
180+
afix and "local arg = _G.arg;\n" or "_ENV = _ENV;\n",
181181
bytes, "\nend\n\n" )
182182
end
183183
end

0 commit comments

Comments
 (0)