aboutsummaryrefslogtreecommitdiff
path: root/src/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parse.c')
-rw-r--r--src/parse.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/parse.c b/src/parse.c
index f5a9df88..e2f267c1 100644
--- a/src/parse.c
+++ b/src/parse.c
@@ -799,8 +799,11 @@ PARSER(parse_table) {
}
PARSER(parse_set) {
- if (!match(&pos, "|")) return NULL;
const char *start = pos;
+ if (match(&pos, "||"))
+ return NewAST(ctx->file, start, pos, Set);
+
+ if (!match(&pos, "|")) return NULL;
whitespace(&pos);
ast_list_t *items = NULL;