aboutsummaryrefslogtreecommitdiff
path: root/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'parse.c')
-rw-r--r--parse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/parse.c b/parse.c
index d44afda0..68be4026 100644
--- a/parse.c
+++ b/parse.c
@@ -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;