Skip to content

Instantly share code, notes, and snippets.

@meric
Last active November 20, 2015 05:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meric/0c85aa2fbe2475712d06 to your computer and use it in GitHub Desktop.
Save meric/0c85aa2fbe2475712d06 to your computer and use it in GitHub Desktop.
➜ l2l git:(master) ✗ git difftool --extcmd=diff compiler.lua --no-prompt | tee
23a24,25
> local _C
>
556c558,559
< eval = function (obj, stream, env)
---
> eval = function (obj, stream, env, G)
> G = G or _G
587c590
< {__newindex=_G, __index = setmetatable(core, {__index=_G})}))
---
> {__newindex=G, __index = setmetatable(core, {__index=G})}))
807a811,820
>
> local G = {
> table = table,
> print = print,
> tostring = tostring,
> type = type,
> getmetatable = getmetatable,
>
> }
>
813,814c826,828
< declare = declare
< })
---
> declare = declare,
> _C = _C,
> }, G)
822c836
< return compiler
\ No newline at end of file
---
> return compile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment