summaryrefslogtreecommitdiffstats
path: root/match.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-12-19 09:19:18 -0800
committerKaz Kylheku <kaz@kylheku.com>2011-12-19 09:19:18 -0800
commit6ba63a4919af92166391aa6fb5d8a55e8a537c92 (patch)
treee357daf40b395cccdc09ee35f1040680f13f250c /match.c
parent61a8fde2872355b4e721f1c5145c77122c92c40e (diff)
downloadtxr-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.c')
-rw-r--r--match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/match.c b/match.c
index c8367f22..09d34dec 100644
--- a/match.c
+++ b/match.c
@@ -1203,7 +1203,7 @@ static val match_line(match_line_ctx c)
return cons(c.bindings, c.pos);
}
-static val format_field(val string_or_list, val modifier, val filter)
+val format_field(val string_or_list, val modifier, val filter)
{
val n = zero;
val plist = nil;