aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_compile.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-02-03 15:03:46 +1000
committerDavid Walter Seikel2012-02-03 15:03:46 +1000
commit3e5c031d981ec327990ad4a157f2f59f8de9a32a (patch)
tree451936442e8dda30a9c251b10d2164fde536fda1 /LuaSL/src/LuaSL_compile.c
parentEnd the file with something useful. (diff)
downloadSledjHamr-3e5c031d981ec327990ad4a157f2f59f8de9a32a.zip
SledjHamr-3e5c031d981ec327990ad4a157f2f59f8de9a32a.tar.gz
SledjHamr-3e5c031d981ec327990ad4a157f2f59f8de9a32a.tar.bz2
SledjHamr-3e5c031d981ec327990ad4a157f2f59f8de9a32a.tar.xz
Switch to using LuaJIT for compiling.
Diffstat (limited to 'LuaSL/src/LuaSL_compile.c')
-rw-r--r--LuaSL/src/LuaSL_compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c
index cf19c99..d68161a 100644
--- a/LuaSL/src/LuaSL_compile.c
+++ b/LuaSL/src/LuaSL_compile.c
@@ -2232,7 +2232,7 @@ static boolean doneParsing(LuaSL_compiler *compiler)
2232 outputLeaf(out, OM_LUA, compiler->ast); 2232 outputLeaf(out, OM_LUA, compiler->ast);
2233 fprintf(out, "\n\n--// End of generated code.\n\n"); 2233 fprintf(out, "\n\n--// End of generated code.\n\n");
2234 fclose(out); 2234 fclose(out);
2235 sprintf(buffer, "luac \"%s\"", luaName); 2235 sprintf(buffer, "../../libraries/luajit-2.0/src/luajit \"%s\"", luaName);
2236 count = system(buffer); 2236 count = system(buffer);
2237 if (0 != count) 2237 if (0 != count)
2238 { 2238 {