diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2013-06-11 20:42:05 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2013-06-11 20:42:05 -0700 |
commit | ae00723f2f3368b1c7b0e71627c08c42fe1d4fd5 (patch) | |
tree | a13463497eac77f53959841fa86a7fcbe7618761 /match.h | |
parent | 399b4b6a5082aa6f14a98bc50b29baeca686aa39 (diff) | |
download | txr-ae00723f2f3368b1c7b0e71627c08c42fe1d4fd5.tar.gz txr-ae00723f2f3368b1c7b0e71627c08c42fe1d4fd5.tar.bz2 txr-ae00723f2f3368b1c7b0e71627c08c42fe1d4fd5.zip |
* match.c (require_s): New variable.
(v_require): New static function.
(syms_init): Initialize require_s.
(dir_tables_init): Add new entries into v_directive_table
and h_directive_table for new require directive.
* match.h (require_s): Declared.
* txr.1: Added do and require directives to the directive summary
section. Documented new require directive.
Fixed int-str documentation to clarify that the radix is
optional.
Diffstat (limited to 'match.h')
-rw-r--r-- | match.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -24,7 +24,7 @@ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -extern val text_s, choose_s, gather_s, do_s; +extern val text_s, choose_s, gather_s, do_s, require_s; extern val load_s, mod_s, modlast_s, counter_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); |