diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | debug.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -13,6 +13,10 @@ * builtin.c (do_print): Check for Node_typedregex and handle it. Needed for adding test code. + Unrelated. Typo fix. + + * debug.c (initialize_watch_item): Dupnode the right thing. + 2015-06-22 Arnold D. Robbins <arnold@skeeve.com> * awkgram.y (snode): Make isarray not scalarize untyped parameters @@ -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 */ } |