File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 4242
4343; ; #B and #* macro
4444
45- (defun read-binary (f n ch )
45+ (defun read-binary (f ch n )
4646 (let ((val 0 ) )
4747 (setq ch (read-char f))
4848 (while (find ch " 01" )
5151 (if (integerp ch) (unread-char ch f))
5252 val))
5353
54- (defun read-bit-vector (f n ch )
54+ (defun read-bit-vector (f ch n )
5555 (let ((ba (make-array ' (8 ) :element-type :bit :fill-pointer 0 )))
5656 (setq ch (read-char f))
5757 (while (find ch " 01" )
5858 (vector-push-extend (- ch #\0 ) ba)
5959 (setq ch (read-char f nil nil )))
60+ (if (integerp ch) (unread-char ch f))
6061 (subseq (array-entity ba) 0 (fill-pointer ba))))
6162
6263
6768; ; define a legal shell command.
6869(set-dispatch-macro-character #\# #\! (get-macro-character #\; ))
6970
70- (defun read-pathname (f n ch )
71+ (defun read-pathname (f ch n )
7172 (pathname (read f)))
7273
7374(set-dispatch-macro-character #\# #\P ' read-pathname)
You can’t perform that action at this time.
0 commit comments