diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-03-24 00:52:51 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-03-24 00:52:51 -0700 |
commit | dc1ae5cd093466d815c52167a21db78ade601763 (patch) | |
tree | 1cea7d836a95cf7c2e2e96b249fddaf200e71551 /gc.c | |
parent | 7ea334385cb123772e86341148b32ac0a1783741 (diff) | |
download | txr-dc1ae5cd093466d815c52167a21db78ade601763.tar.gz txr-dc1ae5cd093466d815c52167a21db78ade601763.tar.bz2 txr-dc1ae5cd093466d815c52167a21db78ade601763.zip |
Bugfix: code like @(skip)@{var /partial/} where
the regular expression does not match all the way to
the end of the line was getting by the check for
a complete match.
* match.c (do_match_line): Loses the second parameter
named completely. The check whether the line was matched
completely is done higher up, in match_line_completely.
This is needed because do_match_line has some early
successful return cases which bypass the check.
(match_line): Remove second paramter in call to do_match_line.
(match_line_completely): Do the check here that the line
was matched completely. Nothing can get by this.
(v_freeform): Do notpass second nil argument to do_match_line.
Diffstat (limited to 'gc.c')
0 files changed, 0 insertions, 0 deletions