Skip to content

Commit

Permalink
fixed amalgamation in case module starts with parenthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
siffiejoe committed Apr 18, 2014
1 parent 096743f commit 8594047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/amalg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ local function amalgamate( ... )
out:write( "local _ENV = _ENV\n",
"package.preload[ ", ("%q"):format( m ),
" ] = function( ... ) ",
afix and "local arg = _G.arg\n" or "_ENV = _ENV\n",
afix and "local arg = _G.arg;\n" or "_ENV = _ENV;\n",
bytes, "\nend\n\n" )
end
end
Expand Down

0 comments on commit 8594047

Please sign in to comment.