Skip to content

Commit

Permalink
WORDS no longer shows SMUDGED words
Browse files Browse the repository at this point in the history
  • Loading branch information
Phil Burk authored and philburk committed Nov 19, 2022
1 parent 66093ef commit 9652590
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
10 changes: 8 additions & 2 deletions fth/misc1.fth
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,19 @@ variable TAB-WIDTH 8 TAB-WIDTH !
tab-width @ swap - spaces
;

$ 20 constant FLAG_SMUDGE

\ Vocabulary listing
: WORDS ( -- )
0 latest
BEGIN dup 0<>
WHILE dup id. tab cr? ?pause
WHILE ( -- count NFA )
dup c@ flag_smudge and 0=
IF
dup id. tab cr? ?pause
swap 1+ swap
THEN
prevname
swap 1+ swap
REPEAT drop
cr . ." words" cr
;
Expand Down
1 change: 0 additions & 1 deletion fth/private.fth
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ anew task-private.fth

variable private-start
variable private-stop
$ 20 constant FLAG_SMUDGE

: PRIVATE{
private-start @ 0= not abort" ERROR: Missing PRIVATIZE"
Expand Down

0 comments on commit 9652590

Please sign in to comment.