]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/base64/base64.factor
basis: ERROR: changes.
[factor.git] / basis / base64 / base64.factor
index 500784ef7f89dc219d6036c744bbf9c88faba47b..db1ffc75bd416e73d46f221973e363f7c7d00b10 100644 (file)
@@ -24,7 +24,7 @@ CONSTANT: alphabet
 
 : base64>ch ( ch -- ch )
     $[ alphabet alphabet-inverse 0 CHAR: = pick set-nth ] nth
-    [ malformed-base64 ] unless* ; inline
+    [ throw-malformed-base64 ] unless* ; inline
 
 : (write-lines) ( column byte-array -- column' )
     output-stream get dup '[
@@ -84,7 +84,7 @@ PRIVATE>
     4 "\n\r" pick read-ignoring dup length {
         { 0 [ 2drop ] }
         { 4 [ decode4 (decode-base64) ] }
-        [ malformed-base64 ]
+        [ throw-malformed-base64 ]
     } case ;
 
 PRIVATE>