diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-05-01 01:11:38 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-05-01 01:11:38 -0400 |
| commit | 09196851b82600523e8790e960046e78b35f4164 (patch) | |
| tree | 501b0a51b4ad0127ec3d2b154edf7b3c686abead | |
| parent | 6565fd78fc2f9e3245d3b93182c59db64de2f4d0 (diff) | |
Bugfix for parsing error with nested sets
| -rw-r--r-- | src/parse.c | 6 |
1 files changed, 1 insertions, 5 deletions
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; |
