From 09196851b82600523e8790e960046e78b35f4164 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 1 May 2025 01:11:38 -0400 Subject: Bugfix for parsing error with nested sets --- src/parse.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/parse.c') diff --git a/src/parse.c b/src/parse.c index fcbf7e6b..f5a9df88 100644 --- a/src/parse.c +++ b/src/parse.c @@ -799,12 +799,8 @@ PARSER(parse_table) { } PARSER(parse_set) { - const char *start = pos; - if (match(&pos, "||")) - return NewAST(ctx->file, start, pos, Set); - if (!match(&pos, "|")) return NULL; - + const char *start = pos; whitespace(&pos); ast_list_t *items = NULL; -- cgit v1.2.3