summaryrefslogtreecommitdiff
path: root/lexer.c
diff options
context:
space:
mode:
Diffstat (limited to 'lexer.c')
-rw-r--r--lexer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lexer.c b/lexer.c
index a68b93e..1f76ab8 100644
--- a/lexer.c
+++ b/lexer.c
@@ -25,11 +25,13 @@ static unsigned int one_wide_tok(const char *s)
case '}': return TOK_CURL_CLOS;
case '[': return TOK_SQUAR_OPEN;
case ']': return TOK_SQUAR_CLOS;
+ case ':': return TOK_COLON;
case ';': return TOK_SEMICOLON;
case '=': return TOK_ASSIGN;
case ',': return TOK_COMMA;
case '<': return TOK_COMP_LESS;
case '%': return TOK_MODULO;
+ case '*': return TOK_STAR;
default: return TOK_NONE;
}
}