summaryrefslogtreecommitdiffstats
path: root/HACKING
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2012-04-13 12:54:04 -0700
committerKaz Kylheku <kaz@kylheku.com>2012-04-13 12:54:04 -0700
commit7768a57e24d747ccaf188e8b618786a4ac91ef84 (patch)
treead678516da4894bbe508aeeadbb338ce2dc79e5c /HACKING
parentcceee8693a03ffab73b9e41ad1d07f8383e6a7aa (diff)
downloadtxr-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