commit b48d84b807b8d19b5f8cb11209186ee38c6e791d parent 4e5d6af12ca3140e9fdb6923e4485cb2bde29543 Author: William Casarin <jb55@jb55.com> Date: Wed, 20 Dec 2017 13:38:59 -0800 valstack: fix bug in stack_any_val Diffstat:
M | valstack.h | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/valstack.h b/valstack.h @@ -63,6 +63,7 @@ stack_any_val(struct stack *stack, struct val val) { cval = (struct val*)p; if (val.type == cval->type && val.ind == cval->ind) return 1; + p++; } return 0;