aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_LSL_tree.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-02-12 00:22:36 +1000
committerDavid Walter Seikel2012-02-12 00:22:36 +1000
commita0263e9618f37101d4beb182853b653fe4727667 (patch)
treefe97898fe4aad8d4c3fe35001c434e6f9b36cc3c /LuaSL/src/LuaSL_LSL_tree.h
parentMissed this in the SID change commit. (diff)
downloadSledjHamr-a0263e9618f37101d4beb182853b653fe4727667.zip
SledjHamr-a0263e9618f37101d4beb182853b653fe4727667.tar.gz
SledjHamr-a0263e9618f37101d4beb182853b653fe4727667.tar.bz2
SledjHamr-a0263e9618f37101d4beb182853b653fe4727667.tar.xz
Little clean ups.
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL_LSL_tree.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/LuaSL/src/LuaSL_LSL_tree.h b/LuaSL/src/LuaSL_LSL_tree.h
index 4d50242..286d22d 100644
--- a/LuaSL/src/LuaSL_LSL_tree.h
+++ b/LuaSL/src/LuaSL_LSL_tree.h
@@ -413,7 +413,11 @@ typedef struct
413#endif 413#endif
414 414
415 415
416
417boolean compilerSetup(gameGlobals *game);
418boolean compileLSL(gameGlobals *game, char *script, boolean doConstants);
416void burnLeaf(void *data); 419void burnLeaf(void *data);
420
417LSL_Leaf *addBlock(LuaSL_compiler *compiler, LSL_Leaf *left, LSL_Leaf *lval, LSL_Leaf *right); 421LSL_Leaf *addBlock(LuaSL_compiler *compiler, LSL_Leaf *left, LSL_Leaf *lval, LSL_Leaf *right);
418LSL_Leaf *addCrement(LuaSL_compiler *compiler, LSL_Leaf *variable, LSL_Leaf *crement, LSL_Type type); 422LSL_Leaf *addCrement(LuaSL_compiler *compiler, LSL_Leaf *variable, LSL_Leaf *crement, LSL_Type type);
419LSL_Leaf *addFor(LuaSL_compiler *compiler, LSL_Leaf *lval, LSL_Leaf *flow, LSL_Leaf *left, LSL_Leaf *expr0, LSL_Leaf *stat0, LSL_Leaf *expr1, LSL_Leaf *stat1, LSL_Leaf *expr2, LSL_Leaf *right, LSL_Leaf *block); 423LSL_Leaf *addFor(LuaSL_compiler *compiler, LSL_Leaf *lval, LSL_Leaf *flow, LSL_Leaf *left, LSL_Leaf *expr0, LSL_Leaf *stat0, LSL_Leaf *expr1, LSL_Leaf *stat1, LSL_Leaf *expr2, LSL_Leaf *right, LSL_Leaf *block);
@@ -438,9 +442,6 @@ LSL_Leaf *collectArguments(LuaSL_compiler *compiler, LSL_Leaf *list, LSL_Leaf *c
438LSL_Leaf *collectParameters(LuaSL_compiler *compiler, LSL_Leaf *list, LSL_Leaf *comma, LSL_Leaf *newParam); 442LSL_Leaf *collectParameters(LuaSL_compiler *compiler, LSL_Leaf *list, LSL_Leaf *comma, LSL_Leaf *newParam);
439LSL_Leaf *collectStatements(LuaSL_compiler *compiler, LSL_Leaf *list, LSL_Leaf *newStatement); 443LSL_Leaf *collectStatements(LuaSL_compiler *compiler, LSL_Leaf *list, LSL_Leaf *newStatement);
440 444
441boolean compilerSetup(gameGlobals *game);
442boolean compileLSL(gameGlobals *game, char *script, boolean doConstants);
443
444void *ParseAlloc(void *(*mallocProc)(size_t)); 445void *ParseAlloc(void *(*mallocProc)(size_t));
445void ParseTrace(FILE *TraceFILE, char *zTracePrompt); 446void ParseTrace(FILE *TraceFILE, char *zTracePrompt);
446void Parse(void *yyp, int yymajor, LSL_Leaf *yyminor, LuaSL_compiler *compiler); 447void Parse(void *yyp, int yymajor, LSL_Leaf *yyminor, LuaSL_compiler *compiler);