summaryrefslogtreecommitdiff
path: root/parse/tok.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-07-05 11:36:46 -0700
committerOri Bernstein <ori@eigenstate.org>2015-07-05 11:36:46 -0700
commitcf357b748945f161ed4a4c7ebac9e1353f3307a3 (patch)
tree8d1f1991d97c37da7f7558454eafd4a46ee4d989 /parse/tok.c
parent4fac3196061c75f159d37bd8e7e51dc64f0dd5df (diff)
downloadmc-cf357b748945f161ed4a4c7ebac9e1353f3307a3.tar.gz
Add proper support for a 'gap' variable.
'_' is now a reserved token.
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 685acc1..a1df12f 100644
--- a/parse/tok.c
+++ b/parse/tok.c
@@ -163,6 +163,7 @@ static int kwd(char *s)
{
static const struct {char* kw; int tt;} kwmap[] = {
{"$noret", Tattr},
+ {"_", Tgap},
{"break", Tbreak},
{"castto", Tcast},
{"const", Tconst},