Correcting arguments passed to open-input-text-editor.

svn: r10496
This commit is contained in:
Danny Yoo 2008-06-29 01:43:50 +00:00
parent 0e42c65d3b
commit 8024601262

View File

@ -24,7 +24,7 @@
(get-source-name txt) line col pos 1)))
(let* ([source-name (get-source-name text)]
[stx (read-syntax source-name
(open-input-text-editor text 0 (send text last-position) source-name))])
(open-input-text-editor text 0 'end values source-name))])
(when (eof-object? stx)
(raise-read-error
(if splice?