diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-10-19 17:41:41 -0400 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-10-19 17:41:41 -0400 |
commit | 1e189c70dabf2d6f2f5a27c166a02489411e3121 (patch) | |
tree | 2ef1f3973df57d24d4b2cf0b58575db28e09e308 /gc.c | |
parent | 915e76c509e3e2bda2ef5f81b10deb61c3add08e (diff) | |
download | txr-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 'gc.c')
0 files changed, 0 insertions, 0 deletions