aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/LuaSL/LuaSL_compile.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-09-14 04:56:50 +1000
committerDavid Walter Seikel2014-09-14 04:56:50 +1000
commit611af992cede0bb980ac350e93874b6168b46b40 (patch)
tree482694b6b4c6a05e3b8713b267cc7ffe39ced45e /src/LuaSL/LuaSL_compile.c
parentDon't generate the lemon .out file, we are not using it. (diff)
downloadSledjHamr-611af992cede0bb980ac350e93874b6168b46b40.zip
SledjHamr-611af992cede0bb980ac350e93874b6168b46b40.tar.gz
SledjHamr-611af992cede0bb980ac350e93874b6168b46b40.tar.bz2
SledjHamr-611af992cede0bb980ac350e93874b6168b46b40.tar.xz
Now we can pass LSL scripts to LuaSL on the command line. Plus some white space clean ups.
Diffstat (limited to 'src/LuaSL/LuaSL_compile.c')
-rw-r--r--src/LuaSL/LuaSL_compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LuaSL/LuaSL_compile.c b/src/LuaSL/LuaSL_compile.c
index a2b2bca..9d6834d 100644
--- a/src/LuaSL/LuaSL_compile.c
+++ b/src/LuaSL/LuaSL_compile.c
@@ -2219,7 +2219,7 @@ boolean compilerSetup(gameGlobals *ourGlobals)
2219 compiler->SID = strdup("FAKE_SID"); 2219 compiler->SID = strdup("FAKE_SID");
2220 compiler->doConstants = TRUE; 2220 compiler->doConstants = TRUE;
2221 compiler->parser = (compileCb) compileLSL; 2221 compiler->parser = (compileCb) compileLSL;
2222 compileScript(compiler, COMPILE_THREADED); 2222 compileScript(compiler, FALSE);
2223 2223
2224 return TRUE; 2224 return TRUE;
2225 } 2225 }
@@ -2252,7 +2252,7 @@ void compileLSL(LuaCompiler *compiler)
2252 lcompiler->ignorable = eina_strbuf_new(); 2252 lcompiler->ignorable = eina_strbuf_new();
2253#endif 2253#endif
2254 2254
2255// PI("Compiling %s.", lcompiler->compiler->file); 2255 PI("Compiling %s.", lcompiler->compiler->file);
2256 2256
2257 in = fopen(lcompiler->compiler->file, "r"); 2257 in = fopen(lcompiler->compiler->file, "r");
2258 if (NULL == in) 2258 if (NULL == in)