diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-12-19 09:19:18 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-12-19 09:19:18 -0800 |
commit | 6ba63a4919af92166391aa6fb5d8a55e8a537c92 (patch) | |
tree | e357daf40b395cccdc09ee35f1040680f13f250c /match.h | |
parent | 61a8fde2872355b4e721f1c5145c77122c92c40e (diff) | |
download | txr-6ba63a4919af92166391aa6fb5d8a55e8a537c92.tar.gz txr-6ba63a4919af92166391aa6fb5d8a55e8a537c92.tar.bz2 txr-6ba63a4919af92166391aa6fb5d8a55e8a537c92.zip |
* eval.c (subst_vars, op_quasi_list, expand_quasi): New static
functions.
(expand): New case for quasiliterals.
(eval_init): Register quasi literal as special operator.
* match.c (format_field): Linkage changed to external.
* match.h (format_field): Declared. Declarations rearranged.
Diffstat (limited to 'match.h')
-rw-r--r-- | match.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -24,8 +24,8 @@ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -extern val do_s; -void match_init(void); +extern val text_s, choose_s, gather_s, do_s; +val format_field(val string_or_list, val modifier, val filter); val match_funcall(val name, val arg, val other_args); int extract(val spec, val filenames, val bindings); -extern val text_s, choose_s, gather_s; +void match_init(void); |