File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 42
42
43
43
; ; #B and #* macro
44
44
45
- (defun read-binary (f n ch )
45
+ (defun read-binary (f ch n )
46
46
(let ((val 0 ) )
47
47
(setq ch (read-char f))
48
48
(while (find ch " 01" )
51
51
(if (integerp ch) (unread-char ch f))
52
52
val))
53
53
54
- (defun read-bit-vector (f n ch )
54
+ (defun read-bit-vector (f ch n )
55
55
(let ((ba (make-array ' (8 ) :element-type :bit :fill-pointer 0 )))
56
56
(setq ch (read-char f))
57
57
(while (find ch " 01" )
58
58
(vector-push-extend (- ch #\0 ) ba)
59
59
(setq ch (read-char f nil nil )))
60
+ (if (integerp ch) (unread-char ch f))
60
61
(subseq (array-entity ba) 0 (fill-pointer ba))))
61
62
62
63
67
68
; ; define a legal shell command.
68
69
(set-dispatch-macro-character #\# #\! (get-macro-character #\; ))
69
70
70
- (defun read-pathname (f n ch )
71
+ (defun read-pathname (f ch n )
71
72
(pathname (read f)))
72
73
73
74
(set-dispatch-macro-character #\# #\P ' read-pathname)
You can’t perform that action at this time.
0 commit comments