diff options
Diffstat (limited to 'src/parser.c')
| -rw-r--r-- | src/parser.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/parser.c b/src/parser.c index fbedb3855..5169bd7bf 100644 --- a/src/parser.c +++ b/src/parser.c @@ -1735,6 +1735,7 @@ AstNode *parse_operand(AstFile *f, bool lhs) { case Token_Integer: case Token_Float: + case Token_Imag: case Token_Rune: operand = ast_basic_lit(f, f->curr_token); next_token(f); @@ -3238,6 +3239,7 @@ AstNode *parse_stmt(AstFile *f) { case Token_Ident: case Token_Integer: case Token_Float: + case Token_Imag: case Token_Rune: case Token_String: case Token_OpenParen: |