• R/O
  • SSH
  • HTTPS

igo: Commit


Commit MetaInfo

Revision90 (tree)
Time2010-04-05 09:24:37
Authorphjgt

Log Message

with-slotsマクロをsymbol-macroletマクロに置換

Change Summary

Incremental Difference

--- trunk/cl-igo/code-stream.lisp (revision 89)
+++ trunk/cl-igo/code-stream.lisp (revision 90)
@@ -50,7 +50,8 @@
5050
5151 (defun read (code-stream)
5252 (declare (code-stream code-stream))
53- (with-slots (position surrogate?) code-stream
53+ (symbol-macrolet ((position (position code-stream))
54+ (surrogate? (surrogate? code-stream)))
5455 (cond (surrogate?
5556 (setf surrogate? nil)
5657 (prog1 (low-surrogate (code code-stream))
@@ -69,7 +70,8 @@
6970
7071 (defun unread (code-stream)
7172 (declare (code-stream code-stream))
72- (with-slots (position surrogate?) code-stream
73+ (symbol-macrolet ((position (position code-stream))
74+ (surrogate? (surrogate? code-stream)))
7375 (if surrogate?
7476 (setf surrogate? nil)
7577 (decf position))))
\ No newline at end of file
Show on old repository browser