*** empty log message ***

original commit: 4f2d8c305b4692ba7f502ad1769f34e3bd515aaa
tokens
Scott Owens 21 years ago
parent 98ddb01840
commit 4db0a02c2d

@ -181,6 +181,7 @@
ip)) ip))
(let ((first-pos (get-position ip)) (let ((first-pos (get-position ip))
(first-char (peek-char-or-special ip 0))) (first-char (peek-char-or-special ip 0)))
;; (printf "(peek-char-or-special port 0) = ~e~n" first-char)
(cond (cond
((eof-object? first-char) ((eof-object? first-char)
(do-match ip first-pos eof-action (read-char-or-special ip) wrap?)) (do-match ip first-pos eof-action (read-char-or-special ip) wrap?))
@ -216,6 +217,7 @@
(length 1) (length 1)
;; how many characters are in the longest match ;; how many characters are in the longest match
(longest-match-length 1)) (longest-match-length 1))
;; (printf "(peek-char-or-special port ~e) = ~e~n" (sub1 length) char)
(let ((next-state (let ((next-state
(cond (cond
((eof-object? char) #f) ((eof-object? char) #f)
@ -261,6 +263,7 @@
(position-offset first-pos) (position-offset first-pos)
(- (position-offset end-pos) (position-offset first-pos))))) (- (position-offset end-pos) (position-offset first-pos)))))
(let ((match (read-string longest-match-length lb))) (let ((match (read-string longest-match-length lb)))
;; (printf "(read-string ~e port) = ~e~n" longest-match-length match)
(do-match lb first-pos longest-match-action match wrap?))) (do-match lb first-pos longest-match-action match wrap?)))

Loading…
Cancel
Save