aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_type_parser.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2012-01-05 08:19:20 +1000
committerDavid Walter Seikel2012-01-05 08:19:20 +1000
commita4b910c8c78242ebbc157ceb164e8fadfc805b27 (patch)
treeca0eb090fc2449e7a8be8685c4e2a06867d417e8 /LuaSL/src/LuaSL_type_parser.h
parentAdded the unadulterated flex and bison source files from the SL viewer. (diff)
downloadSledjHamr-a4b910c8c78242ebbc157ceb164e8fadfc805b27.zip
SledjHamr-a4b910c8c78242ebbc157ceb164e8fadfc805b27.tar.gz
SledjHamr-a4b910c8c78242ebbc157ceb164e8fadfc805b27.tar.bz2
SledjHamr-a4b910c8c78242ebbc157ceb164e8fadfc805b27.tar.xz
Remove most of the constants, we can put them in Lua globals later. Make the LSL parner more like the test one.
Diffstat (limited to '')
-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