diff options
author | David Walter Seikel | 2012-02-12 02:34:41 +1000 |
---|---|---|
committer | David Walter Seikel | 2012-02-12 02:34:41 +1000 |
commit | 16fce1165cebdf772f39d9af55c4ee024c57d18a (patch) | |
tree | 682caa7aac682e737df71d9cfc69bb002fee56d3 /LuaSL/src/LuaSL_LSL_tree.h | |
parent | Make sendBack and Forth varargs. (diff) | |
download | SledjHamr-16fce1165cebdf772f39d9af55c4ee024c57d18a.zip SledjHamr-16fce1165cebdf772f39d9af55c4ee024c57d18a.tar.gz SledjHamr-16fce1165cebdf772f39d9af55c4ee024c57d18a.tar.bz2 SledjHamr-16fce1165cebdf772f39d9af55c4ee024c57d18a.tar.xz |
Implement compilerError() and compilerWarning(), and pass the client to the compiler so it can use them..
Diffstat (limited to 'LuaSL/src/LuaSL_LSL_tree.h')
-rw-r--r-- | LuaSL/src/LuaSL_LSL_tree.h | 3 |
1 files changed, 2 insertions, 1 deletions
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. | |||
387 | typedef struct | 387 | typedef struct |
388 | { | 388 | { |
389 | gameGlobals *game; | 389 | gameGlobals *game; |
390 | Ecore_Con_Client *client; | ||
390 | 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. | 391 | 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. |
391 | int argc; | 392 | int argc; |
392 | char **argv; | 393 | char **argv; |
@@ -415,7 +416,7 @@ typedef struct | |||
415 | 416 | ||
416 | 417 | ||
417 | boolean compilerSetup(gameGlobals *game); | 418 | boolean compilerSetup(gameGlobals *game); |
418 | boolean compileLSL(gameGlobals *game, char *script, boolean doConstants); | 419 | boolean compileLSL(gameGlobals *game, Ecore_Con_Client *client, char *script, boolean doConstants); |
419 | void burnLeaf(void *data); | 420 | void burnLeaf(void *data); |
420 | 421 | ||
421 | LSL_Leaf *addBlock(LuaSL_compiler *compiler, LSL_Leaf *left, LSL_Leaf *lval, LSL_Leaf *right); | 422 | LSL_Leaf *addBlock(LuaSL_compiler *compiler, LSL_Leaf *left, LSL_Leaf *lval, LSL_Leaf *right); |