blob: 66c3f5d764fea2aa315cd6fb6b4f81c5f88331c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/*
* 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__
|