4 Star 7 Fork 3

Gitee 极速下载/c-compiler

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/rui314/8cc
克隆/下载
keyword.inc 1.89 KB
一键复制 编辑 原始数据 按行查看 历史
Rui Ueyama 提交于 2015-03-28 10:51 . Update copyright notice.
// 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)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/mirrors/c-compiler.git
git@gitee.com:mirrors/c-compiler.git
mirrors
c-compiler
c-compiler
master

搜索帮助