Deal with empty lines
This commit is contained in:
parent
f1111f3dfa
commit
9c494558af
|
@ -6,8 +6,10 @@
|
||||||
(cdr tokens))))
|
(cdr tokens))))
|
||||||
|
|
||||||
(define (scheme-command-line? command-line)
|
(define (scheme-command-line? command-line)
|
||||||
(char=? (string-ref (string-trim command-line) 0)
|
(let ((trimmed (string-trim command-line)))
|
||||||
command-prefix))
|
(and (> (string-length trimmed) 0)
|
||||||
|
(char=? (string-ref trimmed 0)
|
||||||
|
command-prefix))))
|
||||||
|
|
||||||
(define (eval-scheme-command command args)
|
(define (eval-scheme-command command args)
|
||||||
(case (string->symbol command)
|
(case (string->symbol command)
|
||||||
|
|
Loading…
Reference in New Issue