Remove commented-out debug code
This commit is contained in:
parent
850728a59f
commit
08577fa7c1
|
@ -4,12 +4,8 @@
|
|||
(else #f)))
|
||||
|
||||
(define (read-char? k)
|
||||
;;(fprintf (current-error-port) "read-char? ~a~%" k)
|
||||
(and (match-char? k (peek-char))
|
||||
(begin (let ((char (read-char)))
|
||||
;;(display char (current-error-port))
|
||||
;;(newline (current-error-port))
|
||||
char))))
|
||||
(begin (read-char))))
|
||||
|
||||
(define (read-char* k)
|
||||
(let* ((first-char (read-char? k))
|
||||
|
|
|
@ -30,11 +30,9 @@
|
|||
(if (read-char? sentinel)
|
||||
things
|
||||
(let ((thing (read-tex-thing)))
|
||||
(cond ((not thing)
|
||||
things)
|
||||
(else
|
||||
;;(fprintf (current-error-port) "Read thing: ~a~%" thing)
|
||||
(loop (append things (list thing)))))))))
|
||||
(if (not thing)
|
||||
things
|
||||
(loop (append things (list thing))))))))
|
||||
|
||||
(define (read-tex-document)
|
||||
(read-tex-until eof-object?))
|
||||
|
|
Loading…
Reference in New Issue