vocabs.loader: teach append-vocab-dir about private vocabs.

John Benediktsson 2012-07-30 11:36:54 -07:00
parent 2634b9c9ec
commit 9b98c098c1
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ PRIVATE>
vocab-name H{ { CHAR: . CHAR: / } } substitute ;
: append-vocab-dir ( vocab str/f -- path )
[ vocab-name "." split ] dip
[ vocab-name ".private" ?tail drop "." split ] dip
[ [ dup last ] dip append suffix ] when*
"/" join ;