diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2014-07-15 20:03:48 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2014-07-15 20:03:48 -0700 |
commit | 9b763824a241ce6345377325c688d8769fc378bd (patch) | |
tree | 60d8b96f22408107f3a07722e982119ef9cbda69 /match.c | |
parent | be924a2c4e7df457da6eeef5b07d71b0243c9f05 (diff) | |
download | txr-9b763824a241ce6345377325c688d8769fc378bd.tar.gz txr-9b763824a241ce6345377325c688d8769fc378bd.tar.bz2 txr-9b763824a241ce6345377325c688d8769fc378bd.zip |
* match.c (h_eol): Fix broken horizontal @(eol).
It should be returning next_spec_k, rather
than bindings, which indicate a complete match.
Diffstat (limited to 'match.c')
-rw-r--r-- | match.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1124,7 +1124,7 @@ static val h_eol(match_line_ctx *c) if (length_str_le(c->dataline, c->pos)) { LOG_MATCH("eol", c->pos); - return cons(c->bindings, plus(c->pos, c->base)); + return next_spec_k; } LOG_MISMATCH("eol"); return nil; |