-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobals.c
More file actions
37 lines (32 loc) · 1.28 KB
/
Copy pathglobals.c
File metadata and controls
37 lines (32 loc) · 1.28 KB
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
File *CF = 0;
Cmd *CMD = 0;
Line *CLIP = 0;
uint16_t FG = TB_WHITE | TB_BOLD;
uint16_t BG = TB_BLACK;
#ifdef SYNTAX
/* .c */
char *bc_c[3] = {"/*", "*/", 0};
char *ilc_c[2] = {"//", 0};
char *res_c[27] = {"for", "break", "case", "continue", "default", "do",
"else", "entry", "for", "goto", "return", "sizeof",
"struct", "switch", "while", "auto", "extern", "register",
"static", "typedef", "union", "#include", "#define",
"#ifdef", "#endif", "if", 0};
char *type_c[11] = {"signed", "unsigned","char","short", "int", "long",
"float", "double", "void", "size_t", 0};
/* .cpp */
char *bc_cpp[3] = {"/*", "*/", 0};
char *ilc_cpp[2] = {"//", 0};
char *res_cpp[28] = {"for", "break", "case", "continue", "default", "do",
"else", "entry", "for", "goto", "return", "sizeof",
"struct", "switch", "while", "auto", "extern", "register",
"static", "typedef", "union", "#include", "#define",
"#ifdef", "#endif", "if", "new", 0};
char *type_cpp[12]= {"signed", "unsigned","char","short", "int", "long",
"float", "double", "void", "size_t", "bool", 0};
/* .go */
char *bc_go[1] = {0};
char *ilc_go[1] = {0};
char *res_go[1] = {0};
char *type_go[1] = {0};
#endif