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, 1 insertions, 2 deletions
diff --git a/syntax/def.peg b/syntax/def.peg
index 0c99c80..9f260d7 100644
--- a/syntax/def.peg
+++ b/syntax/def.peg
@@ -62,8 +62,7 @@ BlockX <- LinkDefinition
/ Paragraph
PrefixDefinition <- '{' CuriePrefix '}' ':' _? SemWord NEWLINE
KeyWordX <- SemWord / Identifier / Class / Attribute / '-'
-SemWord <- SEMPREFIX '<' ![<>] PRINTABLES '>'
- / SEMPREFIX Curie
+SemWord <- SEMPREFIX ('<' ![<>] PRINTABLES '>' / Curie)
SEMPREFIX <- [.=]
# RDF CURIE