mirror of
https://codeberg.org/cage/tinmop/
synced 2025-01-05 01:26:59 +01:00
- fixed regression: gopher parser missed a bunch of rules.
This commit is contained in:
parent
81d33c676e
commit
87e8492ab6
@ -258,7 +258,7 @@
|
|||||||
gopher-selector gopher-field-separator
|
gopher-selector gopher-field-separator
|
||||||
gopher-host gopher-field-separator
|
gopher-host gopher-field-separator
|
||||||
gopher-port gopher-line-separator)
|
gopher-port gopher-line-separator)
|
||||||
line-separator)
|
gopher-line-separator)
|
||||||
(:function (lambda (line)
|
(:function (lambda (line)
|
||||||
(if (listp line)
|
(if (listp line)
|
||||||
(list :type (first line)
|
(list :type (first line)
|
||||||
@ -332,7 +332,7 @@
|
|||||||
(:function caar))
|
(:function caar))
|
||||||
|
|
||||||
(defun parse-text-file (data)
|
(defun parse-text-file (data)
|
||||||
(parse 'text-file data))
|
(parse 'gopher-text-file data))
|
||||||
|
|
||||||
(defrule gopher-gopher-url-authority (or (and (+ (not #\:))
|
(defrule gopher-gopher-url-authority (or (and (+ (not #\:))
|
||||||
#\:
|
#\:
|
||||||
@ -350,7 +350,7 @@
|
|||||||
|
|
||||||
(defrule gopher-gopher-url (and (+ (not #\:))
|
(defrule gopher-gopher-url (and (+ (not #\:))
|
||||||
"://"
|
"://"
|
||||||
gopher-url-authority
|
gopher-gopher-url-authority
|
||||||
(? (and (not #\/)
|
(? (and (not #\/)
|
||||||
(& #\/)))
|
(& #\/)))
|
||||||
(* (character-ranges (#\u0000 #\uffff))))
|
(* (character-ranges (#\u0000 #\uffff))))
|
||||||
|
Loading…
Reference in New Issue
Block a user