From 0efb154f4bfbc9bb40d3a30fbf80e54d1e7060ad Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sat, 21 Jan 2012 17:22:01 +1000 Subject: A comment about function declarations. --- LuaSL/src/LuaSL_compile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/LuaSL/src/LuaSL_compile.c b/LuaSL/src/LuaSL_compile.c index d265fd4..0148444 100644 --- a/LuaSL/src/LuaSL_compile.c +++ b/LuaSL/src/LuaSL_compile.c @@ -291,6 +291,7 @@ static LSL_Leaf *findVariable(LuaSL_compiler *compiler, const char *name) return var; } +// TODO - Damn, you can reference functions declared later. LSL_Leaf *checkFunction(LuaSL_compiler *compiler, LSL_Leaf *identifier) { gameGlobals *game = compiler->game; -- cgit v1.1