parser: Fix for empty word list. Oops.
parent
8cbfaa9450
commit
c71c200063
|
@ -41,7 +41,8 @@ SYMBOL: auto-use?
|
||||||
! of name conflicts
|
! of name conflicts
|
||||||
: no-word ( name -- newword )
|
: no-word ( name -- newword )
|
||||||
dup words-named ignore-forwards
|
dup words-named ignore-forwards
|
||||||
dup [ length 1 = ] [ first private? not ] bi and
|
dup [ length 1 = ]
|
||||||
|
[ [ f ] [ first private? not ] if-empty ] bi and
|
||||||
auto-use? get and
|
auto-use? get and
|
||||||
[ nip first no-word-restarted ]
|
[ nip first no-word-restarted ]
|
||||||
[ <no-word-error> throw-restarts no-word-restarted ]
|
[ <no-word-error> throw-restarts no-word-restarted ]
|
||||||
|
|
Loading…
Reference in New Issue