summaryrefslogtreecommitdiffstats
path: root/match.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-10-16 07:05:13 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-10-16 07:05:13 -0700
commita039c378390c2311e85174e3179692a453572dc6 (patch)
treef2a3fbcd4ee7f2a1d2b9468ae9c70ba7dfcc3582 /match.h
parent8eb4688b095bbdadfa05d0b853df662ac653e3d5 (diff)
downloadtxr-a039c378390c2311e85174e3179692a453572dc6.tar.gz
txr-a039c378390c2311e85174e3179692a453572dc6.tar.bz2
txr-a039c378390c2311e85174e3179692a453572dc6.zip
New @(line) and @(chr) directives.
* match.c (line_s): New variable. (h_chr, v_line): New static functions. (syms_init): line_s initialized. (dir_tables_init): Register v_line and h_chr. * match.h (line_s): Declared. * txr.1: Document @(line) and @(chr) directives. * txr.vim: Regenerated.
Diffstat (limited to 'match.h')
-rw-r--r--match.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/match.h b/match.h
index 132cbca9..176edcc7 100644
--- a/match.h
+++ b/match.h
@@ -25,7 +25,7 @@
*/
extern val text_s, choose_s, gather_s, do_s, require_s;
-extern val close_s, load_s, mod_s, modlast_s, counter_k, env_k;
+extern val close_s, load_s, mod_s, modlast_s, line_s, counter_k, env_k;
val format_field(val string_or_list, val modifier, val filter, val eval_fun);
val match_filter(val name, val arg, val other_args);
val match_fun(val name, val args, val input, val files);