]> gitweb.factorcode.org Git - factor.git/commitdiff
Revert "io.encodings: Add a stream-tell method for decoder streams."
authorJohn Benediktsson <mrjbq7@gmail.com>
Wed, 30 Mar 2016 22:16:19 +0000 (15:16 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Wed, 30 Mar 2016 22:16:19 +0000 (15:16 -0700)
This reverts commit 417b8abbeac013e20b2b360aa215c38604bd18fc.

core/io/encodings/encodings.factor

index 7c13e8fce3b170640b680b1c3674ef465b9161a8..054fa5915f9b4c22b1113a3590c0105c936345de 100644 (file)
@@ -112,8 +112,6 @@ M: decoder stream-element-type
 M: decoder stream-read1 ( decoder -- ch )
     dup (read1) fix-cr ; inline
 
-M: decoder stream-tell stream>> stream-tell ;
-
 : (read-first) ( n buf decoder -- buf stream encoding n c )
     [ rot [ >decoder< ] dip 2over decode-char ]
     [ swap fix-cr ] bi ; inline