diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-08-25 14:00:30 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-08-25 14:00:30 -0400 |
| commit | 1f78aa8783eba223427509834d64f8f5214f1a98 (patch) | |
| tree | eaddcb1a8c31d280b0f1c98ecda91ac4d89d632a /src/parse/suffixes.c | |
| parent | 3e2c911ce260907e3f8f4a4278a7c0ec4793e78a (diff) | |
Improved formatting
Diffstat (limited to 'src/parse/suffixes.c')
| -rw-r--r-- | src/parse/suffixes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/parse/suffixes.c b/src/parse/suffixes.c index 58d951c4..cb54b2f6 100644 --- a/src/parse/suffixes.c +++ b/src/parse/suffixes.c @@ -132,7 +132,7 @@ ast_t *parse_method_call_suffix(parse_ctx_t *ctx, ast_t *self) { if (name) parser_err(ctx, arg_start, pos, "I expected an argument here"); break; } - args = new (arg_ast_t, .name = name, .value = arg, .next = args); + args = new (arg_ast_t, .start = arg_start, .end = arg->end, .name = name, .value = arg, .next = args); if (!match_separator(ctx, &pos)) break; } REVERSE_LIST(args); |
