mirror of
https://codeberg.org/cage/tinmop/
synced 2025-01-02 01:06:40 +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-host gopher-field-separator
|
||||
gopher-port gopher-line-separator)
|
||||
line-separator)
|
||||
gopher-line-separator)
|
||||
(:function (lambda (line)
|
||||
(if (listp line)
|
||||
(list :type (first line)
|
||||
@ -332,7 +332,7 @@
|
||||
(:function caar))
|
||||
|
||||
(defun parse-text-file (data)
|
||||
(parse 'text-file data))
|
||||
(parse 'gopher-text-file data))
|
||||
|
||||
(defrule gopher-gopher-url-authority (or (and (+ (not #\:))
|
||||
#\:
|
||||
@ -350,7 +350,7 @@
|
||||
|
||||
(defrule gopher-gopher-url (and (+ (not #\:))
|
||||
"://"
|
||||
gopher-url-authority
|
||||
gopher-gopher-url-authority
|
||||
(? (and (not #\/)
|
||||
(& #\/)))
|
||||
(* (character-ranges (#\u0000 #\uffff))))
|
||||
|
Loading…
Reference in New Issue
Block a user