summaryrefslogtreecommitdiff
path: root/appl/cmd/stackv.b
diff options
context:
space:
mode:
Diffstat (limited to 'appl/cmd/stackv.b')
-rw-r--r--appl/cmd/stackv.b2
1 files changed, 2 insertions, 0 deletions
diff --git a/appl/cmd/stackv.b b/appl/cmd/stackv.b
index 173f8b30..4688f804 100644
--- a/appl/cmd/stackv.b
+++ b/appl/cmd/stackv.b
@@ -360,6 +360,8 @@ plist(exp: ref Exp, v: string, w: int, depth: int)
while(w && v != "nil"){
exps := exp.expand();
h := getname(exps, "hd");
+ if(h == nil)
+ break;
(hv, vw) := h.val();
if(pref(v) == 0)
return;