;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Aug 2002
;;;;
-;;;; $Id: lml.lisp,v 1.1 2002/09/30 10:26:43 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
;;;;
;;;; (http://www.gnu.org/licenses/gpl.html)
;;;; *************************************************************************
-(declaim (optimize (debug 3) (speed 3) (safety 1) (compilation-speed 0)))
+(declaim (optimize (debug 3) (speed 3) (safety 3) (compilation-speed 0)))
(in-package :lml)
(defun html4-prologue-string ()
(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)
(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)))))