diff options
Diffstat (limited to 'LuaSL/src/LuaSL_compile.c')
-rw-r--r-- | LuaSL/src/LuaSL_compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c index 805f26e..95761a2 100644 --- a/LuaSL/src/LuaSL_compile.c +++ b/LuaSL/src/LuaSL_compile.c | |||
@@ -2275,7 +2275,7 @@ boolean compileLSL(gameGlobals *game, char *script, boolean doConstants) | |||
2275 | fprintf(out, "local _bit = require(\"bit\")\n"); | 2275 | fprintf(out, "local _bit = require(\"bit\")\n"); |
2276 | fprintf(out, "local _LSL = require(\"LSL\")\n\n"); | 2276 | fprintf(out, "local _LSL = require(\"LSL\")\n\n"); |
2277 | // TODO - Use the scripts UUID instead of the file name here, or something. | 2277 | // TODO - Use the scripts UUID instead of the file name here, or something. |
2278 | fprintf(out, "local _SID = [=[%s.lua.out]=]\n\n", compiler.fileName); | 2278 | fprintf(out, "local _SID = [=[%s]=]\n\n", compiler.fileName); |
2279 | outputLeaf(out, OM_LUA, compiler.ast); | 2279 | outputLeaf(out, OM_LUA, compiler.ast); |
2280 | fprintf(out, "\n\n_LSL.mainLoop(_SID, _defaultState)\n"); // This actually starts the script running. | 2280 | fprintf(out, "\n\n_LSL.mainLoop(_SID, _defaultState)\n"); // This actually starts the script running. |
2281 | fprintf(out, "\n--// End of generated code.\n\n"); | 2281 | fprintf(out, "\n--// End of generated code.\n\n"); |