aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-05-26 10:02:35 +0200
committerJonas Smedegaard <dr@jones.dk>2025-05-26 10:03:48 +0200
commit881490dfec59f22b648766ea083cf23c0b29eaba (patch)
tree0cdf36e2a515e6ae1f8f90d0a17cdd2e6c6b2af7
parent1795ee0a7620f393142e9f259cf54fe798261ddb (diff)
fix syntax SEMPREFIX
-rw-r--r--syntax/def.peg2
-rwxr-xr-xsyntax/def_SEMPREFIX.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/syntax/def.peg b/syntax/def.peg
index 640958f..30157d2 100644
--- a/syntax/def.peg
+++ b/syntax/def.peg
@@ -53,7 +53,7 @@ AnnotatedWordsX <- '[' Words ']'
('{' (SemWords / ![{}] PlainWords) '}')
SemWords <- SEMPREFIX '<' ![<>] PRINTABLES '>'
/ SEMPREFIX Curie
-SEMPREFIX <- [.#]
+SEMPREFIX <- [.=]
# RDF CURIE
# @see <https://www.w3.org/TR/rdfa-core/#s_curies>
diff --git a/syntax/def_SEMPREFIX.py b/syntax/def_SEMPREFIX.py
index 036cd66..cb7d555 100755
--- a/syntax/def_SEMPREFIX.py
+++ b/syntax/def_SEMPREFIX.py
@@ -6,6 +6,6 @@
from railroad import *
Diagram(
- "[.#]",
+ "[.=]",
type="complex"
).writeStandalone(sys.stdout.write)