DEADSOFTWARE

Fix compilation in clang
[mp3cc.git] / mpc / lex / tokens.h
1 /********************************************************************
3 tokens.h - definitions of token constants used by lexical
4 scanner and the parser.
6 Niksa Orlic, 2004-04-19
8 ********************************************************************/
10 #define CST_INTEGER 0
11 #define CST_REAL 1
12 #define CST_BOOLEAN 2
13 #define CST_CHAR 3
14 #define CST_STRING 4
15 #define OP_MOD 5
16 #define OP_DIV 6
17 #define OP_PLUS 7
18 #define OP_MINUS 8
19 #define OP_MULT 9
20 #define OP_SLASH 10
21 #define OP_SHR 11
22 #define OP_SHL 12
23 #define OP_EQUAL 13
24 #define KWD_BEGIN 14
25 #define KWD_END 15
26 #define OP_AND 16
27 #define KWD_PROGRAM 17
28 #define KWD_PROCEDURE 18
29 #define KWD_FUNCTION 19
30 #define SEMI_COLON 20
31 #define COLON 21
32 #define OP_ASSIGN 22
33 #define OP_LESS 23
34 #define OP_GREATER 24
35 #define OP_LESS_EQUAL 25
36 #define OP_GREATER_EQUAL 26
37 #define OP_NOT_EQUAL 27
38 #define DOT 28
39 #define OPEN_SQ_BR 29
40 #define CLOSE_SQ_BR 30
41 #define KWD_VAR 31
42 #define KWD_FOR 32
43 #define KWD_TO 33
44 #define KWD_DOWNTO 34
45 #define KWD_DO 35
46 #define OPEN_BR 36
47 #define CLOSE_BR 37
48 #define KWD_CONST 38
49 #define KWD_TYPE 39
50 #define KWD_IF 40
51 #define KWD_THEN 41
52 #define KWD_ELSE 42
53 #define KWD_CASE 43
54 #define KWD_OF 44
55 #define KWD_WHILE 45
56 #define KWD_REPEAT 46
57 #define KWD_UNTIL 47
58 #define KWD_WITH 48
59 #define KWD_PACKED 49
60 #define KWD_ARRAY 50
61 #define OP_OR 51
62 #define KWD_FILE 52
63 #define KWD_SET 53
64 #define KWD_RECORD 54
65 #define OP_IN 55
66 #define OP_NOT 56
67 #define OP_XOR 57
68 #define KWD_FORWARD 58
69 #define IDENTIFIER 59
70 #define COMMA 60
71 #define DOTDOT 61
72 #define KWD_BREAK 62
73 #define KWD_USES 63
74 #define KWD_UNIT 64
75 #define KWD_INTERFACE 65
76 #define KWD_IMPLEMENTATION 66
77 #define KWD_INITIALIZATION 67
78 #define KWD_FINALIZATION 68
79 #define KWD_INLINE 69
80 #define KWD_EXIT 70
81 #define KWD_FOREVER 71
82 #define KWD_RESULT 72
83 #define KWD_BYTECODE 73
84 #define OP_USHR 74
85 #define END_OF_INPUT 255