aboutsummaryrefslogtreecommitdiff
path: root/spec/grammar.md
diff options
context:
space:
mode:
Diffstat (limited to 'spec/grammar.md')
-rw-r--r--spec/grammar.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/grammar.md b/spec/grammar.md
index acb00ef5..ab29d32f 100644
--- a/spec/grammar.md
+++ b/spec/grammar.md
@@ -68,7 +68,7 @@ The target of subject assignment can be compound to allow for destructuring. Lis
LHS_ENTRY= LHS_ELT | lhs "⇐" NAME
lhsStr = LHS_ATOM ( "‿" LHS_ATOM )+
lhsList = "⟨" ⋄? ( ( LHS_ENTRY ⋄ )* LHS_ENTRY ⋄? )? "⟩"
- lhsArray = "[" ⋄? ( LHS_ELT ⋄ )* LHS_ELT ⋄? "]"
+ lhsArray = "[" ⋄? ( ( LHS_ELT ⋄ )* LHS_ELT ⋄? )? "]"
lhsComp = LHS_SUB | lhsStr | "(" lhs ")"
lhs = s | lhsComp