X-Git-Url: https://dreyeck.freedombox.rocks/gitweb/topic-maps.git/blobdiff_plain/5e716c078b885e97ebe858230ce7d8578e65ae4b..f6a86668fce782a2e77d3bd763d58b0489079d75:/src/ctm/lexer.lisp diff --git a/src/ctm/lexer.lisp b/src/ctm/lexer.lisp index 7b5af30..15125a3 100644 --- a/src/ctm/lexer.lisp +++ b/src/ctm/lexer.lisp @@ -172,7 +172,7 @@ A dot followed by a digit can belong to a decimal; a terminal dot stays punctuat ;; Production [71] has a literal terminal followed by an identifier; ;; unlike Role separators it does not require intervening whitespace. (let ((name (find-if (lambda (name) (starts-with (concatenate 'string "%" name) (subseq text start))) - '("prefix" "mergemap")))) + '("prefix" "mergemap" "include")))) (if name (progn (setf (lexer-cursor lexer) (+ start 1 (length name))) (make-token :kind :directive :value name :position start))