/* * TypeParser.h * Definition of the structure used internally by the parser and lexer * to exchange data. */ #ifndef __TYPE_PARSER_H__ #define __TYPE_PARSER_H__ #include "LuaSL_LSL_tree.h" /** * @brief The structure used by flex and bison */ typedef union tagTypeParser { SExpression *expression; int value; }STypeParser; // define the type for flex and bison #define YYSTYPE STypeParser int yyerror(const char *msg); #endif // __TYPE_PARSER_H__