summaryrefslogtreecommitdiff
path: root/src/parser.h
blob: 7087ef9146b7ddb65547d2de2d89aee9b8f23a0c (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
30
31
32
33
34
35
36
37
38
#define WRONGTOKEN 257
#define NIL 258
#define IF 259
#define THEN 260
#define ELSE 261
#define ELSEIF 262
#define WHILE 263
#define DO 264
#define REPEAT 265
#define UNTIL 266
#define END 267
#define RETURN 268
#define LOCAL 269
#define FUNCTION 270
#define DOTS 271
#define NUMBER 272
#define STRING 273
#define NAME 274
#define AND 275
#define OR 276
#define EQ 277
#define NE 278
#define LE 279
#define GE 280
#define CONC 281
#define UNARY 282
#define NOT 283
typedef union 
{
 int   vInt;
 float vFloat;
 char *pChar;
 Word  vWord;
 Long  vLong;
 TFunc *pFunc;
 TaggedString *pTStr;
} YYSTYPE;
extern YYSTYPE luaY_lval;