projects
/
debian
/
pforth
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated README with better build info
[debian/pforth]
/
fth
/
misc1.fth
diff --git
a/fth/misc1.fth
b/fth/misc1.fth
index a90bf6f1a78475c086aac30384b3f031db5af605..e3fb5d80a3afa46f1691cf39486c389d601c364f 100644
(file)
--- a/
fth/misc1.fth
+++ b/
fth/misc1.fth
@@
-100,13
+100,19
@@
variable TAB-WIDTH 8 TAB-WIDTH !
tab-width @ swap - spaces
;
tab-width @ swap - spaces
;
+$ 20 constant FLAG_SMUDGE
+
\ Vocabulary listing
: WORDS ( -- )
0 latest
BEGIN dup 0<>
\ 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
prevname
- swap 1+ swap
REPEAT drop
cr . ." words" cr
;
REPEAT drop
cr . ." words" cr
;