aboutsummaryrefslogtreecommitdiff
path: root/syntax/def.peg
diff options
context:
space:
mode:
Diffstat (limited to 'syntax/def.peg')
-rw-r--r--syntax/def.peg3
1 files changed, 2 insertions, 1 deletions
diff --git a/syntax/def.peg b/syntax/def.peg
index 30157d2..11ce1ab 100644
--- a/syntax/def.peg
+++ b/syntax/def.peg
@@ -51,7 +51,8 @@ NEWLINE <- '\r\n'
# @see <https://source.jones.dk/semantic-markdown/about/>
AnnotatedWordsX <- '[' Words ']'
('{' (SemWords / ![{}] PlainWords) '}')
-SemWords <- SEMPREFIX '<' ![<>] PRINTABLES '>'
+SemWords <- SemWord (_ SemWord)*
+SemWord <- SEMPREFIX '<' ![<>] PRINTABLES '>'
/ SEMPREFIX Curie
SEMPREFIX <- [.=]