From 79d87a9bf9cec73add710cc9983fc7aa16a8912b Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Fri, 10 Feb 2012 16:45:22 +1000 Subject: More design notes. --- LuaSL/src/LuaSL_compile.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'LuaSL/src/LuaSL_compile.c') diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c index 29ea47c..a65b84b 100644 --- a/LuaSL/src/LuaSL_compile.c +++ b/LuaSL/src/LuaSL_compile.c @@ -2276,9 +2276,7 @@ boolean compileLSL(gameGlobals *game, char *script, boolean doConstants) fprintf(out, "--// Generated code goes here.\n\n"); fprintf(out, "local _bit = require(\"bit\")\n"); fprintf(out, "local _LSL = require(\"LSL\")\n\n"); - // TODO - Use the scripts UUID instead of the file name here. - // Hmm, copies of the same script in the same prim would have the same UUID, but different name, though they would run independently. - // Copies of the same script in different prims could have the same UUID AND the same name. + // TODO - Use the scripts UUID instead of the file name here, or something. fprintf(out, "local _SID = [=[%s.lua.out]=]\n\n", compiler.fileName); outputLeaf(out, OM_LUA, compiler.ast); fprintf(out, "\n\n_LSL.mainLoop(_SID, _defaultState)\n"); // This actually starts the script running. -- cgit v1.1