aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_LSL_tree.h
diff options
context:
space:
mode:
Diffstat (limited to 'LuaSL/src/LuaSL_LSL_tree.h')
-rw-r--r--LuaSL/src/LuaSL_LSL_tree.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/LuaSL/src/LuaSL_LSL_tree.h b/LuaSL/src/LuaSL_LSL_tree.h
index 533237a..558dc8d 100644
--- a/LuaSL/src/LuaSL_LSL_tree.h
+++ b/LuaSL/src/LuaSL_LSL_tree.h
@@ -3,6 +3,7 @@
3#define __LSL_TREE_H__ 3#define __LSL_TREE_H__
4 4
5#define LUASL_DEBUG 5#define LUASL_DEBUG
6//#define LUASL_FILES
6 7
7 8
8#include <stddef.h> // So we can have NULL defined. 9#include <stddef.h> // So we can have NULL defined.
@@ -173,6 +174,10 @@ typedef struct
173 char *ignorableText; 174 char *ignorableText;
174 int column; 175 int column;
175 int line; 176 int line;
177 int argc;
178 char **argv;
179 char *fileName;
180 FILE *file;
176} LuaSL_yyparseExtra; 181} LuaSL_yyparseExtra;
177 182
178 183
@@ -201,6 +206,7 @@ typedef struct
201//#define ParseARG_PDECL , LuaSL_yyparseParam *param 206//#define ParseARG_PDECL , LuaSL_yyparseParam *param
202 207
203void burnLeaf(LSL_Leaf *leaf); 208void burnLeaf(LSL_Leaf *leaf);
209int nextFile(LuaSL_yyparseExtra *extra);
204LSL_Leaf *addExpression(LSL_Leaf *exp); 210LSL_Leaf *addExpression(LSL_Leaf *exp);
205LSL_Leaf *addOperation(LSL_Leaf *left, LSL_Leaf *lval, LSL_Leaf *right); 211LSL_Leaf *addOperation(LSL_Leaf *left, LSL_Leaf *lval, LSL_Leaf *right);
206LSL_Leaf *addParenthesis(LSL_Leaf *lval, LSL_Leaf *expr, LSL_Leaf *rval); 212LSL_Leaf *addParenthesis(LSL_Leaf *lval, LSL_Leaf *expr, LSL_Leaf *rval);