-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathkeywordlist.h
More file actions
39 lines (33 loc) · 812 Bytes
/
keywordlist.h
File metadata and controls
39 lines (33 loc) · 812 Bytes
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
#ifndef __KEYWORD_H
#define __KEYWORD_H
#define IFSYM "if"
#define THENSYM "then"
#define WHILESYM "while"
#define DOSYM "do"
#define READSYM "read"
#define WRITESYM "write"
#define CALLSYM "call"
#define BEGINSYM "begin"
#define ENDSYM "end"
#define CONSTSYM "const"
#define VARSYM "var"
#define PROCSYM "procedure"
#define ODDSYM "odd"
#define IFTYPE 10
#define THENTYPE 11
#define WHILETYPE 12
#define DOTYPE 13
#define READTYPE 14
#define WRITETYPE 15
#define CALLTYPE 16
#define BEGINTYPE 17
#define ENDTYPE 18
#define CONSTTYPE 19
#define VARTYPE 20
#define PROCTYPE 21
#define ODDTYPE 22
#define JUMP "jump"
#define RETURN "return"
#define HALT "halt"
#define DECLARE "declare"
#endif