diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2012-04-13 12:54:04 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2012-04-13 12:54:04 -0700 |
commit | 7768a57e24d747ccaf188e8b618786a4ac91ef84 (patch) | |
tree | ad678516da4894bbe508aeeadbb338ce2dc79e5c /HACKING | |
parent | cceee8693a03ffab73b9e41ad1d07f8383e6a7aa (diff) | |
download | txr-7768a57e24d747ccaf188e8b618786a4ac91ef84.tar.gz txr-7768a57e24d747ccaf188e8b618786a4ac91ef84.tar.bz2 txr-7768a57e24d747ccaf188e8b618786a4ac91ef84.zip |
Bugfix: multiple uses of @(next :args) seeing junk "args" string
in argument list. Fix is not to rely on the hack of using the first
element of the list of files to hold the name of the current file.
* match.c (match_files_ctx): New member, curfile.
(mf_all): Initialize curfile.
(mf_args): Set curfile to "args".
(mf_file_data): Initialize curfile.
(v_skip, v_fuzz, v_gather, v_collect): Use c->curfile rater than
first(c->files) in debug calls.
(freeform_prepare, match_files): Pass c->curfile to ml_all constructor
of match_line_ctx rather than rather than first(c->files).
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions