From bf623e40af20f5b96b263b1a246c65b3dfa9e36b Mon Sep 17 00:00:00 2001 From: Blake Hardrick <bhardrick04@gmail.com> Date: Tue, 5 Sep 2023 16:42:36 -0400 Subject: [PATCH] Make parser recognize bitwise not --- src/parser.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/parser.c b/src/parser.c index 40ab93a..8fa6b8d 100644 --- a/src/parser.c +++ b/src/parser.c @@ -223,6 +223,7 @@ ConcoctNode* cct_parse_unary_expr(ConcoctParser* parser) case CCT_TOKEN_NOT: case CCT_TOKEN_INC: case CCT_TOKEN_DEC: + case CCT_TOKEN_BIN_NOT: op_node = cct_new_node(parser->tree, parser->current_token, NULL); if(op_node == NULL) {