diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-09-21 16:28:57 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-09-21 16:28:57 -0400 |
| commit | fd74479a2bf2e4ccc35d1c2fa206de8f28be1e54 (patch) | |
| tree | 0cdf5c4659264b612b5f3fbb4ce6a3b11dd736f5 /src/parse/binops.c | |
| parent | 92185a002a2e8b669add454a945c0ecdc0904993 (diff) | |
Deprecate optional '?' postfix operator
Diffstat (limited to 'src/parse/binops.c')
| -rw-r--r-- | src/parse/binops.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/parse/binops.c b/src/parse/binops.c index 4676b249..dd1ac3c2 100644 --- a/src/parse/binops.c +++ b/src/parse/binops.c @@ -73,8 +73,7 @@ ast_t *parse_infix_expr(parse_ctx_t *ctx, const char *pos, int min_tightness) { progress = (false || (new_term = parse_index_suffix(ctx, key)) || (new_term = parse_method_call_suffix(ctx, key)) || (new_term = parse_field_suffix(ctx, key)) - || (new_term = parse_fncall_suffix(ctx, key)) || (new_term = parse_optional_suffix(ctx, key)) - || (new_term = parse_non_optional_suffix(ctx, key))); + || (new_term = parse_fncall_suffix(ctx, key)) || (new_term = parse_non_optional_suffix(ctx, key))); if (progress) key = new_term; } if (key && key->tag == Var) key = NULL; |
