vocabs.loader: add a word to clear the vocab-cache.
parent
71a6aa4c9b
commit
ecd0bb350c
|
@ -37,6 +37,9 @@ SYMBOL: add-vocab-root-hook
|
||||||
SYMBOL: root-cache
|
SYMBOL: root-cache
|
||||||
root-cache [ H{ } clone ] initialize
|
root-cache [ H{ } clone ] initialize
|
||||||
|
|
||||||
|
: clear-root-cache ( -- )
|
||||||
|
root-cache get clear-assoc ;
|
||||||
|
|
||||||
ERROR: not-found-in-roots path ;
|
ERROR: not-found-in-roots path ;
|
||||||
|
|
||||||
PRIVATE<
|
PRIVATE<
|
||||||
|
|
Loading…
Reference in New Issue