]> gitweb.factorcode.org Git - factor.git/commitdiff
vocabs.loader: vocab-dir should work with private vocabs too.
authorJohn Benediktsson <mrjbq7@gmail.com>
Fri, 10 Aug 2012 21:43:59 +0000 (14:43 -0700)
committerJohn Benediktsson <mrjbq7@gmail.com>
Fri, 10 Aug 2012 21:43:59 +0000 (14:43 -0700)
core/vocabs/loader/loader.factor

index e69a6a20c8d53186ff45b84bddf524fb4d104f5e..135e0ef6efb3e1cbcd5fbdd4606574d7d006abd4 100644 (file)
@@ -42,7 +42,7 @@ M: string vocab-path ( string -- path/f )
 PRIVATE>
 
 : vocab-dir ( vocab -- dir )
-    vocab-name H{ { CHAR: . CHAR: / } } substitute ;
+    vocab-name* H{ { CHAR: . CHAR: / } } substitute ;
 
 : append-vocab-dir ( vocab str/f -- path )
     [ vocab-name "." split ] dip