diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2009-11-03 05:35:07 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2009-11-03 05:35:07 -0800 |
commit | 97ff23270fa304123ee11ddb773eba68ce8fd223 (patch) | |
tree | 327568a0085898b36efb76322743f12927ea8be2 /match.c | |
parent | 147e139309408e4d2f0ceb9d35b9de114690ffce (diff) | |
download | txr-97ff23270fa304123ee11ddb773eba68ce8fd223.tar.gz txr-97ff23270fa304123ee11ddb773eba68ce8fd223.tar.bz2 txr-97ff23270fa304123ee11ddb773eba68ce8fd223.zip |
Change the freeform line catenation semantics to termination
rather than separation.
Diffstat (limited to 'match.c')
-rw-r--r-- | match.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -993,10 +993,10 @@ repeat_spec_same_data: } else { obj_t *limit = or2(if2(nump(first(vals)), first(vals)), if2(nump(second(vals)), second(vals))); - obj_t *sep = or2(if2(stringp(first(vals)), first(vals)), - if2(stringp(second(vals)), second(vals))); + obj_t *term = or2(if2(stringp(first(vals)), first(vals)), + if2(stringp(second(vals)), second(vals))); obj_t *ff_specline = rest(first(spec)); - obj_t *ff_dataline = lazy_str(data, sep, limit); + obj_t *ff_dataline = lazy_str(data, term, limit); cons_bind (new_bindings, success, match_line(bindings, ff_specline, ff_dataline, zero, |