about summary refs log tree commit diff stats
path: root/cparse.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'cparse.lisp')
-rw-r--r--cparse.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cparse.lisp b/cparse.lisp
index 602dc76..31d7817 100644
--- a/cparse.lisp
+++ b/cparse.lisp
@@ -27,7 +27,7 @@
 	((string= s ">") 'great)))
 
 (defun parse (str)
-  (let* ((cl (init-lex str))
+  (let* ((cl (make-instance (find-class '<string-lexer>) 's str))
 	 (tok (lexer cl)))
     (cond ((instancep tok (find-class '<lint>))
 	   (make-instance (find-class '<line>) 'n n 'c (parse-cmd cl)))