aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LSL.lua4
1 files changed, 3 insertions, 1 deletions
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)
618 618
619 SID = sid 619 SID = sid
620 620
621 LSL.EOF = "\n\n\n" -- Fix this up now.
622
621 if not status then 623 if not status then
622 msg("Can't open the luaproc channel " .. sid .. " ERROR MESSAGE: " .. errorMsg) 624 msg("Can't open the luaproc channel " .. sid .. " ERROR MESSAGE: " .. errorMsg)
623 return 625 return
@@ -694,6 +696,7 @@ function LSL.vectorTypecast(x)
694end 696end
695 697
696 698
699-- Called at compiler set up time, to produce the constants.lsl file.
697function LSL.gimmeLSL() 700function LSL.gimmeLSL()
698 for i,v in ipairs(constants) do 701 for i,v in ipairs(constants) do
699 local value = LSL[v.name] 702 local value = LSL[v.name]
@@ -709,7 +712,6 @@ function LSL.gimmeLSL()
709 print(v.Type .. " " .. k .. "(" .. args2string(false, unpack(v.args)) .. "){}") 712 print(v.Type .. " " .. k .. "(" .. args2string(false, unpack(v.args)) .. "){}")
710 end 713 end
711 end 714 end
712 LSL.EOF = "\n\n\n" -- Fix this up now.
713end 715end
714 716
715 717