From 9652590448fb0da36e7b7c9d65ab4421f0242fad Mon Sep 17 00:00:00 2001 From: Phil Burk Date: Thu, 17 Nov 2022 19:26:51 +0000 Subject: [PATCH] WORDS no longer shows SMUDGED words --- fth/misc1.fth | 10 ++++++++-- fth/private.fth | 1 - 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/fth/misc1.fth b/fth/misc1.fth index a90bf6f..e3fb5d8 100644 --- a/fth/misc1.fth +++ b/fth/misc1.fth @@ -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 ; diff --git a/fth/private.fth b/fth/private.fth index 6c0c55e..58c3c30 100644 --- a/fth/private.fth +++ b/fth/private.fth @@ -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" -- 2.47.2