File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ plays_constraint = { PLAYS ~ type_ref }
103103
104104// THING STATEMENTS ============================================================
105105statement_thing_basic = { var ~ COMMA? ~ thing_constraint_list }
106- statement_thing_relation_anonymous = { type_ref? ~ relation ~ ( COMMA? ~ thing_constraint_list )? }
106+ statement_thing_relation_anonymous = { !reserved ~ type_ref? ~ relation ~ ( COMMA? ~ thing_constraint_list )? }
107107thing_constraint_list = {thing_constraint ~ ( COMMA ~ thing_constraint )* ~ COMMA?}
108108
109109thing_constraint = { isa_constraint | iid_constraint | has_constraint | links_constraint }
@@ -364,7 +364,7 @@ range_full = { range_bound ~ DOUBLE_DOT ~ range_bound }
364364range_bound = _{ value_literal }
365365
366366// TYPEQL SYNTAX KEYWORDS ======================================================
367- // Unused / Reference only . See typeql::is_reserved_keyword for implemented truth.
367+ // Reference. See typeql::is_reserved_keyword for implemented truth.
368368eof_reserved = { SOI ~ reserved ~ EOI }
369369reserved = { WITH | MATCH | FETCH | UPDATE | DEFINE | UNDEFINE | REDEFINE | INSERT | PUT | DELETE | END
370370 | ENTITY | RELATION | ATTRIBUTE | ROLE
You can’t perform that action at this time.
0 commit comments