aboutsummaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug.c b/debug.c
index d0e47f4a..2bb6e53a 100644
--- a/debug.c
+++ b/debug.c
@@ -1794,7 +1794,7 @@ initialize_watch_item(struct list_item *w)
w->flags |= CUR_IS_ARRAY;
w->cur_size = assoc_length(symbol);
} else if (symbol->type == Node_typedregex) {
- w->cur_value = dupnode(r);
+ w->cur_value = dupnode(symbol);
} /* else
can't happen */
}