-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnode_type.h
53 lines (50 loc) · 815 Bytes
/
node_type.h
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//
// Created by ubuntu on 30.11.16.
//
#ifndef TESTCOMPILER_NODE_TYPE_H
#define TESTCOMPILER_NODE_TYPE_H
//node define
enum y_type{
y_num = 0,
y_auto = 1,
y_const = 10,
y_double = 11,
y_float = 100,
y_int = 101,
y_register = 110,
y_short = 111,
y_unsigned = 1000,
y_char = 1001,
y_long = 1010,
y_void = 1100,
y_static = 1101,
y_extern = 1110,
y_unkown = 1111,
y_while,
y_switch,
y_case,
y_default,
y_goto,
y_sizeof,
y_break,
y_continue,
y_do,
y_else,
y_for,
y_if,
y_return,
y_struct,
y_typedef,
y_union,
y_enum,
y_Lbrace,
y_Rbrace,
y_Lbracket,
y_Rbracket,
y_endsymbol,
y_equal,
y_plus,
y_milus
};
//stack node define
#endif //TESTCOMPILER_NODE_TYPE_H