effests.parser: Oops wrong word.
parent
bd3762502f
commit
ee921150c7
|
@ -57,7 +57,7 @@ SYMBOL: in-definition
|
||||||
ERROR: can't-nest-definitions word ;
|
ERROR: can't-nest-definitions word ;
|
||||||
|
|
||||||
: check-in-definition ( -- )
|
: check-in-definition ( -- )
|
||||||
in-definition get [ current-word can't-nest-definitions ] when ;
|
in-definition get [ last-word can't-nest-definitions ] when ;
|
||||||
|
|
||||||
: with-definition ( quot -- )
|
: with-definition ( quot -- )
|
||||||
[ check-in-definition t in-definition ] dip with-variable ; inline
|
[ check-in-definition t in-definition ] dip with-variable ; inline
|
||||||
|
|
Loading…
Reference in New Issue