From 16fce1165cebdf772f39d9af55c4ee024c57d18a Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 12 Feb 2012 02:34:41 +1000 Subject: Implement compilerError() and compilerWarning(), and pass the client to the compiler so it can use them.. --- LuaSL/src/LuaSL_LSL_tree.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'LuaSL/src/LuaSL_LSL_tree.h') diff --git a/LuaSL/src/LuaSL_LSL_tree.h b/LuaSL/src/LuaSL_LSL_tree.h index 286d22d..600fb6f 100644 --- a/LuaSL/src/LuaSL_LSL_tree.h +++ b/LuaSL/src/LuaSL_LSL_tree.h @@ -387,6 +387,7 @@ Need to do something about that. typedef struct { gameGlobals *game; + Ecore_Con_Client *client; void *scanner; // This should be of type yyscan_t, which is typedef to void * anyway, but that does not get defined until LuaSL_lexer.h, which depends on this struct being defined first. int argc; char **argv; @@ -415,7 +416,7 @@ typedef struct boolean compilerSetup(gameGlobals *game); -boolean compileLSL(gameGlobals *game, char *script, boolean doConstants); +boolean compileLSL(gameGlobals *game, Ecore_Con_Client *client, char *script, boolean doConstants); void burnLeaf(void *data); LSL_Leaf *addBlock(LuaSL_compiler *compiler, LSL_Leaf *left, LSL_Leaf *lval, LSL_Leaf *right); -- cgit v1.1