original commit: 4ffc43c36c67f9d966ff670cebd787bd4fe7a47f
This commit is contained in:
Matthew Flatt 2005-04-26 20:30:09 +00:00
parent a3aea614c7
commit 9233090af7

View File

@ -496,10 +496,11 @@
(lambda ()
(let-values ([(l c p) (port-next-location p)])
(values (and l (+ l (- init-l) line))
(and c (if (eq? l 1)
(and c (if (equal? l init-l)
(+ c (- init-c) col)
c))
(and p (+ p (- init-p) pos)))))
void
pos))))
;; Not kill-safe.