File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
typed-racket-lib/typed-racket Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1111 (define ch (peek-char port))
1212 (unless (eof-object? ch)
1313 ;; Consult current readtable:
14- (let -values ([( like-ch/sym proc dispatch-proc) (readtable-mapping (current-readtable) ch)] )
15- ;; If like-ch/sym is whitespace, then ch is whitespace
16- (when (and (char? like-ch/sym) (char-whitespace? like-ch/sym))
17- (read-char port)
18- (skip-whitespace port) ))))
14+ (define -values (like-ch/sym proc dispatch-proc) (readtable-mapping (current-readtable) ch))
15+ ;; If like-ch/sym is whitespace, then ch is whitespace
16+ (when (and (char? like-ch/sym) (char-whitespace? like-ch/sym))
17+ (read-char port)
18+ (skip-whitespace port))))
1919
2020(define (skip-comments read-one port src)
2121 ;; Recursive read, but skip comments and detect EOF
You can’t perform that action at this time.
0 commit comments