diff --git a/src/gopher/parser.lisp b/src/gopher/parser.lisp index 2127eac..3d485e2 100644 --- a/src/gopher/parser.lisp +++ b/src/gopher/parser.lisp @@ -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))))