Make notfound work right with word name.

This commit is contained in:
Brad Nelson
2024-04-20 16:08:37 -07:00
parent 9477781530
commit f08769855d
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ variable hld
( Better Errors )
: notfound ( a n n -- )
if cr ." ERROR: " type ." NOT FOUND!" cr -1 throw then ;
dup if cr ." ERROR: " >r type r> ." NOT FOUND!" cr throw else drop then ;
' notfound 'notfound !
( Abort )