X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=lml.lisp;h=3a39758321668c4d62ec2d13d205f95c6240b759;hb=e4c2001f95bbf608bcdb02962685c71d6ab1b74b;hp=54ae37e2538c8cb7c4d1ea9458a0177376bf5736;hpb=39746723838339674f26c439f13d880a768ca7ba;p=lml.git diff --git a/lml.lisp b/lml.lisp index 54ae37e..3a39758 100644 --- a/lml.lisp +++ b/lml.lisp @@ -7,7 +7,7 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Aug 2002 ;;;; -;;;; $Id: lml.lisp,v 1.2 2002/10/09 23:28:41 kevin Exp $ +;;;; $Id: lml.lisp,v 1.5 2002/10/14 03:25:05 kevin Exp $ ;;;; ;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg ;;;; @@ -211,12 +211,16 @@ (curr-string (new-string)) (paren-level 0) (got-comma nil)) + (declare (type fixnum paren-level)) (do ((ch (read-char stream t nil t) (read-char stream t nil t))) ((eql ch #\])) (if got-comma (if (eql ch #\() ;; Starting top-level ,( (progn + #+cmu + (setf curr-string (coerce curr-string `(simple-array character (*)))) + (push `(lml-print ,curr-string) forms) (setq curr-string (new-string)) (setq got-comma nil) @@ -253,6 +257,10 @@ (progn (setq got-comma nil) (vector-push-extend ch curr-string))))) + + #+cmu + (setf curr-string (coerce curr-string `(simple-array character (*)))) + (push `(lml-print ,curr-string) forms) `(progn ,@(nreverse forms)))))