]> gitweb.factorcode.org Git - factor.git/blobdiff - core/io/encodings/utf16/utf16.factor
change ERROR: words from throw-foo back to foo.
[factor.git] / core / io / encodings / utf16 / utf16.factor
index 13406a23f16ad87567ff8cc979e20fb62b591c43..0660ddfd774784118e80c769c5e357eb9e6c1fb7 100644 (file)
@@ -139,7 +139,7 @@ CONSTANT: bom-be B{ 0xfe 0xff }
 
 : bom>le/be ( bom -- le/be )
     dup bom-le sequence= [ drop utf16le ] [
-        bom-be sequence= [ utf16be ] [ throw-missing-bom ] if
+        bom-be sequence= [ utf16be ] [ missing-bom ] if
     ] if ;
 
 M: utf16 <decoder> ( stream utf16 -- decoder )