summaryrefslogtreecommitdiff
path: root/parse/tok.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-12-14 23:27:06 -0800
committerOri Bernstein <ori@eigenstate.org>2015-12-14 23:27:06 -0800
commitf5a1454387098fa3abb7bf95f4123e1fac85cb7d (patch)
treec5410430516ebf119d8139c8b599732cbd545d51 /parse/tok.c
parent607b2662bc1093833bfea0c49236f098271cf348 (diff)
downloadmc-f5a1454387098fa3abb7bf95f4123e1fac85cb7d.tar.gz
Initial support for void as an expression.
Diffstat (limited to 'parse/tok.c')
-rw-r--r--parse/tok.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse/tok.c b/parse/tok.c
index 068af8e..fd3597c 100644
--- a/parse/tok.c
+++ b/parse/tok.c
@@ -191,6 +191,7 @@ static int kwd(char *s)
{"union", Tunion},
{"use", Tuse},
{"var", Tvar},
+ {"void", Tvoidlit},
{"while", Twhile},
};