-
Notifications
You must be signed in to change notification settings - Fork 745
/
keyword.inc
69 lines (67 loc) · 1.89 KB
/
keyword.inc
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// Copyright 2012 Rui Ueyama. Released under the MIT license.
op(OP_ARROW, "->")
op(OP_A_ADD, "+=")
op(OP_A_AND, "&=")
op(OP_A_DIV, "/=")
op(OP_A_MOD, "%=")
op(OP_A_MUL, "*=")
op(OP_A_OR, "|=")
op(OP_A_SAL, "<<=")
op(OP_A_SAR, ">>=")
op(OP_A_SUB, "-=")
op(OP_A_XOR, "^=")
op(OP_DEC, "--")
op(OP_EQ, "==")
op(OP_GE, ">=")
op(OP_INC, "++")
op(OP_LE, "<=")
op(OP_LOGAND, "&&")
op(OP_LOGOR, "||")
op(OP_NE, "!=")
op(OP_SAL, "<<")
op(OP_SAR, ">>")
keyword(KALIGNAS, "_Alignas", true)
keyword(KALIGNOF, "_Alignof", false)
keyword(KAUTO, "auto", true)
keyword(KBOOL, "_Bool", true)
keyword(KBREAK, "break", false)
keyword(KCASE, "case", false)
keyword(KCHAR, "char", true)
keyword(KCOMPLEX, "_Complex", true)
keyword(KCONST, "const", true)
keyword(KCONTINUE, "continue", false)
keyword(KDEFAULT, "default", false)
keyword(KDO, "do", false)
keyword(KDOUBLE, "double", true)
keyword(KELSE, "else", false)
keyword(KENUM, "enum", true)
keyword(KEXTERN, "extern", true)
keyword(KFLOAT, "float", true)
keyword(KFOR, "for", false)
keyword(KGENERIC, "_Generic", false)
keyword(KGOTO, "goto", false)
keyword(KIF, "if", false)
keyword(KIMAGINARY, "_Imaginary", true)
keyword(KINLINE, "inline", true)
keyword(KINT, "int", true)
keyword(KLONG, "long", true)
keyword(KNORETURN, "_Noreturn", true)
keyword(KREGISTER, "register", true)
keyword(KRESTRICT, "restrict", true)
keyword(KRETURN, "return", false)
keyword(KHASHHASH, "##", false)
keyword(KSHORT, "short", true)
keyword(KSIGNED, "signed", true)
keyword(KSIZEOF, "sizeof", false)
keyword(KSTATIC, "static", true)
keyword(KSTATIC_ASSERT, "_Static_assert", false)
keyword(KSTRUCT, "struct", true)
keyword(KSWITCH, "switch", false)
keyword(KELLIPSIS, "...", false)
keyword(KTYPEDEF, "typedef", true)
keyword(KTYPEOF, "typeof", true)
keyword(KUNION, "union", true)
keyword(KUNSIGNED, "unsigned", true)
keyword(KVOID, "void", true)
keyword(KVOLATILE, "volatile", true)
keyword(KWHILE, "while", false)