;;; @ lexical analyze
;;;
-(defcustom std11-lexical-analyzers
+(defcustom std11-lexical-analyzer
'(std11-analyze-quoted-string
std11-analyze-domain-literal
std11-analyze-comment
)))
;;;###autoload
-(defun std11-lexical-analyze (string &optional analyzers start)
+(defun std11-lexical-analyze (string &optional analyzer start)
"Analyze STRING as lexical tokens of STD 11."
- (or analyzers
- (setq analyzers std11-lexical-analyzers))
+ (or analyzer
+ (setq analyzer std11-lexical-analyzer))
(or start
(setq start 0))
(let ((len (length string))
dest ret)
(while (< start len)
(setq ret
- (let ((rest analyzers)
+ (let ((rest analyzer)
func r)
(while (and (setq func (car rest))
(null (setq r (funcall func string start))))