diff options
Diffstat (limited to 'LuaSL/src/LuaSL_LSL_tree.h')
-rw-r--r-- | LuaSL/src/LuaSL_LSL_tree.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/LuaSL/src/LuaSL_LSL_tree.h b/LuaSL/src/LuaSL_LSL_tree.h index 9493552..35d0470 100644 --- a/LuaSL/src/LuaSL_LSL_tree.h +++ b/LuaSL/src/LuaSL_LSL_tree.h | |||
@@ -1,6 +1,6 @@ | |||
1 | 1 | ||
2 | #ifndef __EXPRESSION_H__ | 2 | #ifndef __LSL_TREE_H__ |
3 | #define __EXPRESSION_H__ | 3 | #define __LSL_TREE_H__ |
4 | 4 | ||
5 | #define LUASL_DEBUG | 5 | #define LUASL_DEBUG |
6 | 6 | ||
@@ -10,17 +10,12 @@ | |||
10 | #include <sys/stat.h> | 10 | #include <sys/stat.h> |
11 | #include <fcntl.h> | 11 | #include <fcntl.h> |
12 | 12 | ||
13 | //#include <iostream> | ||
14 | //#include <cstdlib> | ||
15 | #include "assert.h" | 13 | #include "assert.h" |
16 | //#include "ex5def.h" | ||
17 | //#include "example5.h" | ||
18 | #include <unistd.h> | 14 | #include <unistd.h> |
19 | #include <sys/types.h> | 15 | #include <sys/types.h> |
20 | #include <sys/stat.h> | 16 | #include <sys/stat.h> |
21 | #include <fcntl.h> | 17 | #include <fcntl.h> |
22 | #include <stdlib.h> | 18 | #include <stdlib.h> |
23 | //#include "lexglobal.h" | ||
24 | //#define BUFS 1024 | 19 | //#define BUFS 1024 |
25 | 20 | ||
26 | #include "LuaSL_lemon_yaccer.h" | 21 | #include "LuaSL_lemon_yaccer.h" |
@@ -173,7 +168,7 @@ struct _LSL_Script | |||
173 | }; | 168 | }; |
174 | 169 | ||
175 | 170 | ||
176 | // define the type for flex and bison | 171 | // define the type for flex and lemon3 |
177 | #define YYSTYPE LSL_Leaf | 172 | #define YYSTYPE LSL_Leaf |
178 | 173 | ||
179 | 174 | ||
@@ -212,5 +207,5 @@ void Parse(void *yyp, int yymajor, LSL_Leaf *yyminor, LuaSL_yyparseParam *param) | |||
212 | void ParseFree(void *p, void (*freeProc)(void*)); | 207 | void ParseFree(void *p, void (*freeProc)(void*)); |
213 | 208 | ||
214 | 209 | ||
215 | #endif // __EXPRESSION_H__ | 210 | #endif // __LSL_TREE_H__ |
216 | 211 | ||