diff options
author | 2022-09-05 16:48:02 +0200 | |
---|---|---|
committer | 2022-09-06 01:05:24 +0200 | |
commit | 811856a4fbede45b14adf138b75b8cc9f7308966 (patch) | |
tree | b9adb256fe480f79a63003d9a77ef09e899c03e4 /subprojects/frontend | |
parent | chore(deps): bump frontend dependencies (diff) | |
download | refinery-811856a4fbede45b14adf138b75b8cc9f7308966.tar.gz refinery-811856a4fbede45b14adf138b75b8cc9f7308966.tar.zst refinery-811856a4fbede45b14adf138b75b8cc9f7308966.zip |
fix(frontend): Lezer bracket matching
Diffstat (limited to 'subprojects/frontend')
-rw-r--r-- | subprojects/frontend/src/language/problem.grammar | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/subprojects/frontend/src/language/problem.grammar b/subprojects/frontend/src/language/problem.grammar index 313df05d..95861110 100644 --- a/subprojects/frontend/src/language/problem.grammar +++ b/subprojects/frontend/src/language/problem.grammar | |||
@@ -45,8 +45,8 @@ statement { | |||
45 | ReferenceDeclaration { | 45 | ReferenceDeclaration { |
46 | (kw<"refers"> | kw<"contains">)? | 46 | (kw<"refers"> | kw<"contains">)? |
47 | RelationName | 47 | RelationName |
48 | ("[" Multiplicity? "]")? | ||
48 | RelationName | 49 | RelationName |
49 | ( "[" Multiplicity? "]" )? | ||
50 | (kw<"opposite"> RelationName)? | 50 | (kw<"opposite"> RelationName)? |
51 | ";"? | 51 | ";"? |
52 | } | 52 | } |
@@ -154,5 +154,3 @@ sep1<separator, content> { content (separator content)* } | |||
154 | 154 | ||
155 | "{" "}" "(" ")" "[" "]" "." ".." "," ":" "<->" "~>" | 155 | "{" "}" "(" ")" "[" "]" "." ".." "," ":" "<->" "~>" |
156 | } | 156 | } |
157 | |||
158 | @detectDelim | ||