diff options
author | Hans Hagen <pragma@wxs.nl> | 2008-01-26 02:30:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2008-01-26 02:30:00 +0100 |
commit | e3467ba8810e788b01d8e7ce2e16d3c8ffdd3e2a (patch) | |
tree | 151358a831d39525db303351ed5bece56b2a7524 /tex/context/base/luat-env.lua | |
parent | 000a8c62f8ab88f17964644ce3dd3fc2720fb345 (diff) | |
download | context-e3467ba8810e788b01d8e7ce2e16d3c8ffdd3e2a.tar.gz |
stable 2008.01.26 02:30
Diffstat (limited to 'tex/context/base/luat-env.lua')
-rw-r--r-- | tex/context/base/luat-env.lua | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/tex/context/base/luat-env.lua b/tex/context/base/luat-env.lua index 85dbd7033..c75edc5f3 100644 --- a/tex/context/base/luat-env.lua +++ b/tex/context/base/luat-env.lua @@ -131,7 +131,7 @@ function environment.loadluafile(filename,register) environment.showmessage("loading", fullname) if register then if not environment.regfil then - environment.regfil = io.open('luafiles.tmp', 'w') + environment.regfil = io.open('luafiles.tmp', 'w') -- we can consider 'a' end if environment.regfil then environment.regfil:write(fullname .."\n") @@ -156,13 +156,6 @@ function environment.loadlucfile(filename,version) environment.showmessage("loading", fullname) assert(chunk)() if version then ---~ if modules and modules[filename] and modules[filename].version ~= version then ---~ environment.showmessage("version mismatch", filename,"lua=" .. modules[filename].version, "luc=" ..version) ---~ environment.loadluafile(filename) ---~ elseif versions and versions[filename] and versions[filename] ~= version then ---~ environment.showmessage("version mismatch", filename,"lua=" .. versions[filename], "luc=" ..version) ---~ environment.loadluafile(filename) ---~ end local v = version -- can be nil if modules and modules[filename] then v = modules[filename].version -- new |