diff options
-rw-r--r-- | ChangeLog | 9 | ||||
-rw-r--r-- | match.c | 7 |
2 files changed, 16 insertions, 0 deletions
@@ -2,6 +2,15 @@ Task #11583 + * match.c (dir_tables_init): Mapping flatten_s, forget_s, + local_s, merge_s, set_s, cat_s and filter_s to hv_trampoline + function, thereby making all these directives work in + horizontal contexts in one fell swoop. + +2011-11-10 Kaz Kylheku <kaz@kylheku.com> + + Task #11583 + More generic approach. * match.c (h_bind): Function removed. @@ -3172,7 +3172,14 @@ static void dir_tables_init(void) sethash(h_directive_table, var_s, cptr((mem_t *) h_var)); sethash(h_directive_table, skip_s, cptr((mem_t *) h_skip)); sethash(h_directive_table, coll_s, cptr((mem_t *) h_coll)); + sethash(h_directive_table, flatten_s, cptr((mem_t *) hv_trampoline)); + sethash(h_directive_table, forget_s, cptr((mem_t *) hv_trampoline)); + sethash(h_directive_table, local_s, cptr((mem_t *) hv_trampoline)); + sethash(h_directive_table, merge_s, cptr((mem_t *) hv_trampoline)); sethash(h_directive_table, bind_s, cptr((mem_t *) hv_trampoline)); + sethash(h_directive_table, set_s, cptr((mem_t *) hv_trampoline)); + sethash(h_directive_table, cat_s, cptr((mem_t *) hv_trampoline)); + sethash(h_directive_table, filter_s, cptr((mem_t *) hv_trampoline)); sethash(h_directive_table, some_s, cptr((mem_t *) h_parallel)); sethash(h_directive_table, all_s, cptr((mem_t *) h_parallel)); sethash(h_directive_table, none_s, cptr((mem_t *) h_parallel)); |