Remove commented-out debug code

This commit is contained in:
Lassi Kortela 2019-03-28 12:36:18 +02:00
parent 850728a59f
commit 08577fa7c1
2 changed files with 4 additions and 10 deletions

View File

@ -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))

View File

@ -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?))