Skip to content

Commit

Permalink
Make parser recognize bitwise not
Browse files Browse the repository at this point in the history
  • Loading branch information
Bamalot committed Sep 5, 2023
1 parent b87359a commit bf623e4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/parser.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit bf623e4

Please sign in to comment.