+ ((char= c #\%)
+ ;; Production [71] has a literal terminal followed by an identifier;
+ ;; unlike Role separators it does not require intervening whitespace.
+ (if (starts-with "%prefix" (subseq text start))
+ (progn (setf (lexer-cursor lexer) (+ start 7))
+ (make-token :kind :directive :value "prefix" :position start))
+ (progn
+ (scan-name lexer)
+ (problem 'ctm-unsupported :unsupported-directive start
+ (format nil "Directive %~A is outside the implemented subset."
+ (subseq text (1+ start) (lexer-cursor lexer)))))))
+ ((find c "?[$@~")