diff options
-rw-r--r-- | ChangeLog | 8 | ||||
-rw-r--r-- | match.c | 2 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,11 @@ +2011-10-20 Kaz Kylheku <kaz@kylheku.com> + + Bug #34609 + + * match.c (v_block): Regression induced by rabid refactoring. Block + must apply remaining directives to data, excluding itself, otherwise + runaway recursion takes the place of correct behavior. + 2011-10-19 Kaz Kylheku <kaz@kylheku.com> Version 040 @@ -1554,7 +1554,7 @@ static val v_block(match_files_ctx c, match_files_ctx *cout) sem_error(spec_linenum, lit("unexpected material after block directive"), nao); - if (rest(c.spec)) + if ((c.spec = rest(c.spec)) != nil) { uw_block_begin(name, result); result = match_files(c); |