]> gitweb.factorcode.org Git - factor.git/commitdiff
vocabs: words-named should't f suffix.
authorJohn Benediktsson <mrjbq7@gmail.com>
Tue, 29 Mar 2016 20:14:24 +0000 (13:14 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Tue, 29 Mar 2016 20:14:24 +0000 (13:14 -0700)
core/vocabs/vocabs.factor

index 29530f89968025206c39971042803539dd2c891e..b47053071fe236c080e9959604ec6de8b913da4a 100644 (file)
@@ -104,7 +104,7 @@ ERROR: no-vocab name ;
     [ values [ vocab-words-assoc at ] with map sift ]
     [
         [ ":" split1 swap ] dip at
-        [ vocab-words-assoc at suffix ] [ drop ] if*
+        [ vocab-words-assoc at [ suffix ] when* ] [ drop ] if*
     ] 2bi ;
 
 : child-vocab? ( prefix name -- ? )