summaryrefslogtreecommitdiffstats
path: root/match.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2018-03-16 20:43:33 -0700
committerKaz Kylheku <kaz@kylheku.com>2018-03-16 20:43:33 -0700
commitef95bcaaf056210281a5d5b6916559bad28fd217 (patch)
tree1c895a4e9d940f3d76c70416a2ca7f46987fa085 /match.h
parent109041fb2ea18893bea32a4743e995f0bc06d5aa (diff)
downloadtxr-ef95bcaaf056210281a5d5b6916559bad28fd217.tar.gz
txr-ef95bcaaf056210281a5d5b6916559bad28fd217.tar.bz2
txr-ef95bcaaf056210281a5d5b6916559bad28fd217.zip
quasi: factor out repeated code.
* eval.c (fmt_tostring, fmt_cat): New static functions. (do_format_field): Replace code block with call to fmt_cat. (fmt_simple, fmt_flex): Insert needed call to fmt_tostring. (subst_vars): Replace blocks of code with calls to fmt_tostring and fmt_cat.
Diffstat (limited to 'match.h')
0 files changed, 0 insertions, 0 deletions