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

db4
John Benediktsson 2012-07-30 11:36:54 -07:00
parent 9d2a1a6b7c
commit 42922cee81
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 ;