From 4ec1cd74ae7ca91c36283db1df4e64692de01cb8 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Wed, 22 Feb 2012 05:16:47 +1000 Subject: Fix up the EOF fix up, and commentry++. --- LuaSL/src/LSL.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/LuaSL/src/LSL.lua b/LuaSL/src/LSL.lua index 53b5d72..a89c06f 100644 --- a/LuaSL/src/LSL.lua +++ b/LuaSL/src/LSL.lua @@ -618,6 +618,8 @@ function LSL.mainLoop(sid, x) SID = sid + LSL.EOF = "\n\n\n" -- Fix this up now. + if not status then msg("Can't open the luaproc channel " .. sid .. " ERROR MESSAGE: " .. errorMsg) return @@ -694,6 +696,7 @@ function LSL.vectorTypecast(x) end +-- Called at compiler set up time, to produce the constants.lsl file. function LSL.gimmeLSL() for i,v in ipairs(constants) do local value = LSL[v.name] @@ -709,7 +712,6 @@ function LSL.gimmeLSL() print(v.Type .. " " .. k .. "(" .. args2string(false, unpack(v.args)) .. "){}") end end - LSL.EOF = "\n\n\n" -- Fix this up now. end -- cgit v1.1