summaryrefslogtreecommitdiffstats
path: root/tests/008
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-10-19 17:41:41 -0400
committerKaz Kylheku <kaz@kylheku.com>2011-10-19 17:41:41 -0400
commit1e189c70dabf2d6f2f5a27c166a02489411e3121 (patch)
tree2ef1f3973df57d24d4b2cf0b58575db28e09e308 /tests/008
parent915e76c509e3e2bda2ef5f81b10deb61c3add08e (diff)
downloadtxr-1e189c70dabf2d6f2f5a27c166a02489411e3121.tar.gz
txr-1e189c70dabf2d6f2f5a27c166a02489411e3121.tar.bz2
txr-1e189c70dabf2d6f2f5a27c166a02489411e3121.zip
Task #11425
Refactoring match_files to make it easier to break up into subfunctions, similarly to what was done with match_files. * match.c (match_line_ctx): New struct type. (ml_all, ml_specline, ml_bindings_specline): New functions. (LOG_MISMATCH, LOG_MATCH): Macros moved outside of function, updated to refer to structure members rather than local variables. (match_line): Takes only one argument now. All recursive calls updated. (v_freeform): Call to match_line updated. (match_files): Likewise.
Diffstat (limited to 'tests/008')
0 files changed, 0 insertions, 0 deletions