diff options
author | Himbeer <himbeer@disroot.org> | 2024-10-01 13:24:52 +0200 |
---|---|---|
committer | Himbeer <himbeer@disroot.org> | 2024-10-01 13:51:46 +0200 |
commit | b360bd096dc835d57b858f02e8ed51ffbb1f2005 (patch) | |
tree | 437a3daed74e4eff6e9678a59eba98d5daa9dbfd | |
parent | 91c0da3a8bea23d3729ecc02b599774a62f9230c (diff) |
Fix expression matching success being inverted
-rw-r--r-- | src/parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse.c b/src/parse.c index a294898..511cb18 100644 --- a/src/parse.c +++ b/src/parse.c @@ -664,7 +664,7 @@ parse_disjunction_e(struct lexer *lexer, struct disjunction_e *out) static bool parse_expr(struct lexer *lexer, struct ast_expr *out) { - return !parse_disjunction_e(lexer, &out->dis); + return parse_disjunction_e(lexer, &out->dis); } static bool |