From 47c86b21aea0ccc823f10abd9403c1e00cfd8a1e Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Sun, 19 Feb 2012 04:53:36 +1000 Subject: Change over to referring to scripts by SID. --- 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 600fb6f..cbc34b3 100644 --- a/LuaSL/src/LuaSL_LSL_tree.h +++ b/LuaSL/src/LuaSL_LSL_tree.h @@ -391,6 +391,7 @@ typedef struct 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; + char SID[37]; char fileName[PATH_MAX]; FILE *file; LSL_Leaf *ast; @@ -416,7 +417,7 @@ typedef struct boolean compilerSetup(gameGlobals *game); -boolean compileLSL(gameGlobals *game, Ecore_Con_Client *client, char *script, boolean doConstants); +boolean compileLSL(gameGlobals *game, Ecore_Con_Client *client, char *SID, 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