vocabs.parser: a couple of fixes
parent
0fa425b03a
commit
73cbf46760
|
@ -86,8 +86,7 @@ PRIVATE>
|
||||||
|
|
||||||
: set-current-vocab ( name -- )
|
: set-current-vocab ( name -- )
|
||||||
create-vocab
|
create-vocab
|
||||||
[ manifest get (>>current-vocab) ]
|
[ manifest get (>>current-vocab) ] [ (add-qualified) ] bi ;
|
||||||
[ words>> <extra-words> (add-qualified) ] bi ;
|
|
||||||
|
|
||||||
: with-current-vocab ( name quot -- )
|
: with-current-vocab ( name quot -- )
|
||||||
manifest get clone manifest [
|
manifest get clone manifest [
|
||||||
|
@ -242,8 +241,10 @@ PRIVATE>
|
||||||
|
|
||||||
: with-manifest ( quot -- )
|
: with-manifest ( quot -- )
|
||||||
<manifest> manifest [
|
<manifest> manifest [
|
||||||
[ manifest get add-definition-observer call ]
|
[ call ] [
|
||||||
[ manifest get remove-definition-observer ]
|
[ manifest get add-definition-observer call ]
|
||||||
[ ]
|
[ manifest get remove-definition-observer ]
|
||||||
cleanup
|
[ ]
|
||||||
|
cleanup
|
||||||
|
] if-bootstrapping
|
||||||
] with-variable ; inline
|
] with-variable ; inline
|
||||||
|
|
Loading…
Reference in New Issue