diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-03-14 02:48:07 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-03-14 02:48:07 -0400 |
| commit | d5d3f564bbc716d2a9f3d534c97d3baff77dda59 (patch) | |
| tree | 09ff7ca43ed0c923dd02633dd844d93de33d69fe /parse.c | |
| parent | 8847eaa660ef1538050c4bfc51ce405c90e6323b (diff) | |
Remove some shadowed variables
Diffstat (limited to 'parse.c')
| -rw-r--r-- | parse.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -233,14 +233,14 @@ static void expect_str( // Helper for matching closing parens with good error messages // static void expect_closing( - parse_ctx_t *ctx, const char **pos, const char *closing, const char *fmt, ...) { + parse_ctx_t *ctx, const char **pos, const char *close_str, const char *fmt, ...) { const char *start = *pos; spaces(pos); - if (match(pos, closing)) + if (match(pos, close_str)) return; const char *eol = strchr(*pos, '\n'); - const char *next = strstr(*pos, closing); + const char *next = strstr(*pos, close_str); const char *end = eol < next ? eol : next; |
