public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
638f633
)
Remember to honour the smudge bit.
author
David Given
<dg@cowlark.com>
Mon, 24 Aug 2015 21:10:50 +0000
(23:10 +0200)
committer
David Given
<dg@cowlark.com>
Mon, 24 Aug 2015 21:10:50 +0000
(23:10 +0200)
All tests pass!
Applications/util/fforth.c
patch
|
blob
|
history
diff --git
a/Applications/util/fforth.c
b/Applications/util/fforth.c
index
768ea50
..
a559d5b
100644
(file)
--- a/
Applications/util/fforth.c
+++ b/
Applications/util/fforth.c
@@
-769,7
+769,9
@@
static void find_cb(cdefn_t* w)
while (current)
{
- if (current->name && fstreq(name, current->name))
+ if (current->name
+ && !(current->name->len & FL_SMUDGE)
+ && fstreq(name, current->name))
{
dpush((cell_t) current);
dpush((current->name->len & FL_IMMEDIATE) ? 1 : -1);