diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2016-08-03 21:23:22 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2016-08-03 21:23:22 +0300 |
commit | 9907a598dca8f129422c42f8c4fa3b4e2c988221 (patch) | |
tree | 3a2be1d8cc0c5747129c6d9e4f75d1ee250fe988 /debug.c | |
parent | 58cd470fe6b37ff2b62f5bc5b8cedf19be04fc63 (diff) | |
download | egawk-9907a598dca8f129422c42f8c4fa3b4e2c988221.tar.gz egawk-9907a598dca8f129422c42f8c4fa3b4e2c988221.tar.bz2 egawk-9907a598dca8f129422c42f8c4fa3b4e2c988221.zip |
Remove typed regexps until they can be done correctly.
Diffstat (limited to 'debug.c')
-rw-r--r-- | debug.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -1736,8 +1736,6 @@ watchpoint_triggered(struct list_item *w) /* new != NULL */ if (t2->type == Node_val) w->cur_value = dupnode(t2); - else if (t2->type == Node_typedregex) - w->cur_value = dupnode(t2); else { w->flags |= CUR_IS_ARRAY; w->cur_size = (t2->type == Node_var_array) ? assoc_length(t2) : 0; @@ -1750,7 +1748,6 @@ watchpoint_triggered(struct list_item *w) w->flags |= CUR_IS_ARRAY; w->cur_size = assoc_length(t2); } else - /* works for Node_typedregex too */ w->cur_value = dupnode(t2); } @@ -1793,8 +1790,6 @@ initialize_watch_item(struct list_item *w) } else if (symbol->type == Node_var_array) { w->flags |= CUR_IS_ARRAY; w->cur_size = assoc_length(symbol); - } else if (symbol->type == Node_typedregex) { - w->cur_value = dupnode(symbol); } /* else can't happen */ } @@ -3709,9 +3704,6 @@ print_memory(NODE *m, NODE *func, Func_print print_func, FILE *fp) print_func(fp, " [%s]", flags2str(m->flags)); break; - case Node_typedregex: - print_func(fp, "@"); - /* fall through */ case Node_regex: pp_string_fp(print_func, fp, m->re_exp->stptr, m->re_exp->stlen, '/', false); break; |