projects
/
lml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r3393: *** empty log message ***
[lml.git]
/
lml.lisp
diff --git
a/lml.lisp
b/lml.lisp
index c3a3c98734f133107c408bb020bceb45f73e5637..3a39758321668c4d62ec2d13d205f95c6240b759 100644
(file)
--- a/
lml.lisp
+++ b/
lml.lisp
@@
-7,7
+7,7
@@
;;;; Programmer: Kevin M. Rosenberg
;;;; Date Started: Aug 2002
;;;;
;;;; 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
;;;;
;;;;
;;;; This file, part of LML, is Copyright (c) 2002 by Kevin M. Rosenberg
;;;;
@@
-16,7
+16,7
@@
;;;; (http://www.gnu.org/licenses/gpl.html)
;;;; *************************************************************************
;;;; (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 ()
(in-package :lml)
(defun html4-prologue-string ()
@@
-211,12
+211,16
@@
(curr-string (new-string))
(paren-level 0)
(got-comma nil))
(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
(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)
(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)))))
(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)))))
(push `(lml-print ,curr-string) forms)
`(progn ,@(nreverse forms)))))