projects
/
lml.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r3054: *** empty log message ***
[lml.git]
/
lml.lisp
diff --git
a/lml.lisp
b/lml.lisp
index 54ae37e2538c8cb7c4d1ea9458a0177376bf5736..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.
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
;;;;
;;;;
;;;; 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))
(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)))))