aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_compile.c
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-05 08:19:20 +1000
committerDavid Walter Seikel2012-01-05 08:19:20 +1000
commita4b910c8c78242ebbc157ceb164e8fadfc805b27 (patch)
treeca0eb090fc2449e7a8be8685c4e2a06867d417e8 /LuaSL/src/LuaSL_compile.c
parentAdded the unadulterated flex and bison source files from the SL viewer. (diff)
downloadSledjHamr-a4b910c8c78242ebbc157ceb164e8fadfc805b27.zip
SledjHamr-a4b910c8c78242ebbc157ceb164e8fadfc805b27.tar.gz
SledjHamr-a4b910c8c78242ebbc157ceb164e8fadfc805b27.tar.bz2
SledjHamr-a4b910c8c78242ebbc157ceb164e8fadfc805b27.tar.xz
Remove most of the constants, we can put them in Lua globals later. Make the LSL parner more like the test one.
Diffstat (limited to 'LuaSL/src/LuaSL_compile.c')
-rw-r--r--LuaSL/src/LuaSL_compile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c
index f4aa0c6..679af3d 100644
--- a/LuaSL/src/LuaSL_compile.c
+++ b/LuaSL/src/LuaSL_compile.c
@@ -6,6 +6,7 @@ Eina_Bool compileLSL(gameGlobals *game, char *script)
6 Eina_Bool result = EINA_FALSE; 6 Eina_Bool result = EINA_FALSE;
7 7
8// Parse the LSL script, validating it and reporting errors. 8// Parse the LSL script, validating it and reporting errors.
9// Just pass all constants and function names through to Lua, assume they are globals there.
9 10
10// Take the result of the parse, and convert it into Lua source. 11// Take the result of the parse, and convert it into Lua source.
11// Each LSL script becomes a Lua state. 12// Each LSL script becomes a Lua state.