diff options
Diffstat (limited to 'src/sys/np/core/np_lex.c')
-rw-r--r-- | src/sys/np/core/np_lex.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sys/np/core/np_lex.c b/src/sys/np/core/np_lex.c index 620a7ad..787f369 100644 --- a/src/sys/np/core/np_lex.c +++ b/src/sys/np/core/np_lex.c @@ -281,6 +281,12 @@ lex_nom(struct np_work *work, struct lex_token *res) case '=': res->token = TT_EQUALS; break; + case '[': + res->token = TT_LBRACK; + break; + case ']': + res->token = TT_RBRACK; + break; default: if (is_num(c)) { lex_nomnum(work, c, res); |