mirror of https://codeberg.org/cage/tinmop/
- fixed missing/wrong production rules symbols for iri parsing.
This commit is contained in:
parent
a14372b095
commit
01ef182d14
|
@ -131,7 +131,7 @@
|
||||||
(defrule gemini-carriage-return #\Return
|
(defrule gemini-carriage-return #\Return
|
||||||
(:constant nil))
|
(:constant nil))
|
||||||
|
|
||||||
(defrule gemini-cr-lf (and (? carriage-return) new-line)
|
(defrule gemini-cr-lf (and (? gemini-carriage-return) gemini-new-line)
|
||||||
(:constant nil))
|
(:constant nil))
|
||||||
|
|
||||||
(defrule gemini-h1-prefix "#"
|
(defrule gemini-h1-prefix "#"
|
||||||
|
|
|
@ -173,7 +173,7 @@
|
||||||
(when (<= 0 number 255)
|
(when (<= 0 number 255)
|
||||||
number))))
|
number))))
|
||||||
|
|
||||||
(defrule iri-dec-octet (octect-p (+ digit))
|
(defrule iri-dec-octet (octect-p (+ iri-digit))
|
||||||
(:text t))
|
(:text t))
|
||||||
|
|
||||||
(defun extract-fields-from-absolute-iri (parsed)
|
(defun extract-fields-from-absolute-iri (parsed)
|
||||||
|
|
Loading…
Reference in New Issue