aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_LSL_tree.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-17 13:39:35 +1000
committerDavid Walter Seikel2012-01-17 13:39:35 +1000
commit7d9c4da112a2c97f32c734393256498c023a0ebb (patch)
treec72efa9f13e30aaed1224280b286c4f51b0c4219 /LuaSL/src/LuaSL_LSL_tree.h
parentCleanups for EFL. (diff)
downloadSledjHamr-7d9c4da112a2c97f32c734393256498c023a0ebb.zip
SledjHamr-7d9c4da112a2c97f32c734393256498c023a0ebb.tar.gz
SledjHamr-7d9c4da112a2c97f32c734393256498c023a0ebb.tar.bz2
SledjHamr-7d9c4da112a2c97f32c734393256498c023a0ebb.tar.xz
Change that butt ugly name.
Diffstat (limited to '')
-rw-r--r--LuaSL/src/LuaSL_LSL_tree.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/LuaSL/src/LuaSL_LSL_tree.h b/LuaSL/src/LuaSL_LSL_tree.h
index 4b6e3c4..b73d3ac 100644
--- a/LuaSL/src/LuaSL_LSL_tree.h
+++ b/LuaSL/src/LuaSL_LSL_tree.h
@@ -1,6 +1,6 @@
1 1
2#ifndef __LSL_TREE_H__ 2#ifndef __LUASL_TREE_H__
3#define __LSL_TREE_H__ 3#define __LUASL_TREE_H__
4 4
5//#define LUASL_DEBUG 5//#define LUASL_DEBUG
6 6
@@ -289,7 +289,7 @@ typedef struct
289 LSL_Leaf *lval; 289 LSL_Leaf *lval;
290 int column, line; 290 int column, line;
291 LSL_Block *currentBlock; 291 LSL_Block *currentBlock;
292} LuaSL_yyparseParam; 292} LuaSL_compiler;
293 293
294 294
295#ifndef excludeLexer 295#ifndef excludeLexer
@@ -299,23 +299,23 @@ typedef struct
299 299
300void burnLeaf(LSL_Leaf *leaf); 300void burnLeaf(LSL_Leaf *leaf);
301LSL_Leaf *addFunction(LSL_Leaf *type, LSL_Leaf *identifier, LSL_Leaf *open, LSL_Leaf *params, LSL_Leaf *close, LSL_Leaf *block); 301LSL_Leaf *addFunction(LSL_Leaf *type, LSL_Leaf *identifier, LSL_Leaf *open, LSL_Leaf *params, LSL_Leaf *close, LSL_Leaf *block);
302LSL_Leaf *addOperation(LuaSL_yyparseParam *param, LSL_Leaf *left, LSL_Leaf *lval, LSL_Leaf *right); 302LSL_Leaf *addOperation(LuaSL_compiler *compiler, LSL_Leaf *left, LSL_Leaf *lval, LSL_Leaf *right);
303LSL_Leaf *addParameter(LSL_Leaf *type, LSL_Leaf *newParam); 303LSL_Leaf *addParameter(LSL_Leaf *type, LSL_Leaf *newParam);
304LSL_Leaf *addParenthesis(LSL_Leaf *lval, LSL_Leaf *expr, LSL_Type type, LSL_Leaf *rval); 304LSL_Leaf *addParenthesis(LSL_Leaf *lval, LSL_Leaf *expr, LSL_Type type, LSL_Leaf *rval);
305LSL_Leaf *addState(LuaSL_yyparseParam *param, LSL_Leaf *identifier, LSL_Leaf *block); 305LSL_Leaf *addState(LuaSL_compiler *compiler, LSL_Leaf *identifier, LSL_Leaf *block);
306LSL_Leaf *addStatement(LSL_Leaf *lval, LSL_Type type, LSL_Leaf *expr); 306LSL_Leaf *addStatement(LSL_Leaf *lval, LSL_Type type, LSL_Leaf *expr);
307LSL_Leaf *addTypecast(LSL_Leaf *lval, LSL_Leaf *type, LSL_Leaf *rval, LSL_Leaf *expr); 307LSL_Leaf *addTypecast(LSL_Leaf *lval, LSL_Leaf *type, LSL_Leaf *rval, LSL_Leaf *expr);
308LSL_Leaf *addVariable(LuaSL_yyparseParam *param, LSL_Leaf *type, LSL_Leaf *identifier, LSL_Leaf *assignment, LSL_Leaf *expr); 308LSL_Leaf *addVariable(LuaSL_compiler *compiler, LSL_Leaf *type, LSL_Leaf *identifier, LSL_Leaf *assignment, LSL_Leaf *expr);
309 309
310void beginBlock(LuaSL_yyparseParam *param, LSL_Leaf *block); 310void beginBlock(LuaSL_compiler *compiler, LSL_Leaf *block);
311LSL_Leaf *collectParameters(LSL_Leaf *list, LSL_Leaf *comma, LSL_Leaf *newParam); 311LSL_Leaf *collectParameters(LSL_Leaf *list, LSL_Leaf *comma, LSL_Leaf *newParam);
312void endBlock(LuaSL_yyparseParam *param, LSL_Leaf *block); 312void endBlock(LuaSL_compiler *compiler, LSL_Leaf *block);
313 313
314void *ParseAlloc(void *(*mallocProc)(size_t)); 314void *ParseAlloc(void *(*mallocProc)(size_t));
315void ParseTrace(FILE *TraceFILE, char *zTracePrompt); 315void ParseTrace(FILE *TraceFILE, char *zTracePrompt);
316void Parse(void *yyp, int yymajor, LSL_Leaf *yyminor, LuaSL_yyparseParam *param); 316void Parse(void *yyp, int yymajor, LSL_Leaf *yyminor, LuaSL_compiler *compiler);
317void ParseFree(void *p, void (*freeProc)(void*)); 317void ParseFree(void *p, void (*freeProc)(void*));
318 318
319 319
320#endif // __LSL_TREE_H__ 320#endif // __LUASL_LSL_TREE_H__
321 321