aboutsummaryrefslogtreecommitdiff
path: root/src/prc1/kw.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/prc1/kw.c')
-rw-r--r--src/prc1/kw.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/prc1/kw.c b/src/prc1/kw.c
index c72ac97..0f4ca9f 100644
--- a/src/prc1/kw.c
+++ b/src/prc1/kw.c
@@ -11,8 +11,10 @@ static const char *kws[] =
/* types */
"union", "struct", "constant", "alias", "prototype",
/* operators */
- "add", "subtract", "multiply", "divide", "xor", "bitor", "bitand",
- "leftshift", "rightshift", "address", "size", "call", "set",
+ "add", "subtract", "multiply", "divide", "negate", "xor", "bitor", "bitand",
+ "leftshift", "rightshift", "call", "set",
+ /* expressions */
+ "address", "cast", "contents", "offset", "size",
/* procedures */
"using", "returning",
/* built-in functions */
@@ -26,9 +28,9 @@ static const char *kws[] =
/* built-in types */
"void", "array", "pointer",
/* built-in signed types */
- "byte", "halfword", "word", "long",
+ "char", "schar", "short", "int", "long", "longlong",
/* built-in unsigned types */
- "ubyte", "uhalfword", "uword", "ulong"
+ "uchar", "ushort", "uint", "ulong", "ulonglong"
};
int kw(const char *s)