summaryrefslogtreecommitdiff
path: root/parse/tok.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-11-06 23:07:35 -0800
committerOri Bernstein <ori@eigenstate.org>2015-11-06 23:07:35 -0800
commitc1c1c42c36717dea8dbca9e1bed8d794144ec6f1 (patch)
treeb19db09246b86fdc236d2f9771aea5f6294c9c53 /parse/tok.c
parenteac5baa8515b5e6fe46ecf609d2cac94ffed5dc6 (diff)
downloadmc-c1c1c42c36717dea8dbca9e1bed8d794144ec6f1.tar.gz
Add support for '$' operator.
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 a1df12f..9cb6716 100644
--- a/parse/tok.c
+++ b/parse/tok.c
@@ -162,6 +162,7 @@ static void eatspace(void)
static int kwd(char *s)
{
static const struct {char* kw; int tt;} kwmap[] = {
+ {"$", Tidxlen},
{"$noret", Tattr},
{"_", Tgap},
{"break", Tbreak},