]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/unicode/collation/collation.factor
simple-flat-file: rename ``data`` to ``load-data-file``.
[factor.git] / basis / unicode / collation / collation.factor
index be82f697cdd9ac0204292f7514259c504dd06ae4..36ac433b6a31d5d89c2993e6f1222b48c45a2de3 100644 (file)
@@ -23,7 +23,8 @@ TUPLE: weight primary secondary tertiary ignorable? ;
     " " split [ hex> ] "" map-as ;
 
 : parse-ducet ( file -- ducet )
-    data [ [ parse-keys ] [ parse-weight ] bi* ] H{ } assoc-map-as ;
+    load-data-file
+    [ [ parse-keys ] [ parse-weight ] bi* ] H{ } assoc-map-as ;
 
 "vocab:unicode/collation/allkeys.txt" parse-ducet ducet set-global