aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_type_parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'LuaSL/src/LuaSL_type_parser.h')
-rw-r--r--LuaSL/src/LuaSL_type_parser.h22
1 files changed, 19 insertions, 3 deletions
diff --git a/LuaSL/src/LuaSL_type_parser.h b/LuaSL/src/LuaSL_type_parser.h
index 66c3f5d..76842db 100644
--- a/LuaSL/src/LuaSL_type_parser.h
+++ b/LuaSL/src/LuaSL_type_parser.h
@@ -14,8 +14,25 @@
14 */ 14 */
15typedef union tagTypeParser 15typedef union tagTypeParser
16{ 16{
17 SExpression *expression; 17 SExpression *expression;
18 int value; 18 int value;
19 int ival;
20 float fval;
21 char *sval;
22// class LLScriptType *type;
23// class LLScriptConstant *constant;
24// class LLScriptIdentifier *identifier;
25// class LLScriptSimpleAssignable *assignable;
26// class LLScriptGlobalVariable *global;
27// class LLScriptEvent *event;
28// class LLScriptEventHandler *handler;
29// class LLScriptExpression *expression;
30// class LLScriptStatement *statement;
31// class LLScriptGlobalFunctions *global_funcs;
32// class LLScriptFunctionDec *global_decl;
33// class LLScriptState *state;
34// class LLScritpGlobalStorage *global_store;
35// class LLScriptScript *script;
19}STypeParser; 36}STypeParser;
20 37
21// define the type for flex and bison 38// define the type for flex and bison
@@ -26,4 +43,3 @@ int yyerror(const char *msg);
26 43
27#endif // __TYPE_PARSER_H__ 44#endif // __TYPE_PARSER_H__
28 45
29