summaryrefslogtreecommitdiff
path: root/src/sys/np/core/np_lex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys/np/core/np_lex.c')
-rw-r--r--src/sys/np/core/np_lex.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sys/np/core/np_lex.c b/src/sys/np/core/np_lex.c
index 787f369..27341ab 100644
--- a/src/sys/np/core/np_lex.c
+++ b/src/sys/np/core/np_lex.c
@@ -287,6 +287,9 @@ lex_nom(struct np_work *work, struct lex_token *res)
case ']':
res->token = TT_RBRACK;
break;
+ case ':':
+ res->token = TT_COLON;
+ break;
default:
if (is_num(c)) {
lex_nomnum(work, c, res);