summaryrefslogtreecommitdiffstats
path: root/match.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-03-13 06:41:26 -0700
committerKaz Kylheku <kaz@kylheku.com>2017-03-13 06:41:26 -0700
commit398fcda3ac71e99fb3bdd5c3d1fa69099c50fdb4 (patch)
tree3ce17cae7b9dbea916a78d32f23cd5ef0567c4f0 /match.h
parent2e99d6d842d4714a2b165b1ae3920013467e03f7 (diff)
downloadtxr-398fcda3ac71e99fb3bdd5c3d1fa69099c50fdb4.tar.gz
txr-398fcda3ac71e99fb3bdd5c3d1fa69099c50fdb4.tar.bz2
txr-398fcda3ac71e99fb3bdd5c3d1fa69099c50fdb4.zip
Add in-package directive.
* match.c (in_package_s): New symbol variable. (syms_init): Initialize in_package_s. * match.h (in_package_s): Declared. * parser.y (check_parse_time_action): Add case for in-package. Evaluate just with eval, as a case of the in-package macro. * txr.1: Documented.
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 9894ecff..35e7cd05 100644
--- a/match.h
+++ b/match.h
@@ -25,7 +25,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-extern val text_s, choose_s, gather_s, do_s, mdo_s, require_s;
+extern val text_s, choose_s, gather_s, do_s, mdo_s, require_s, in_package_s;
extern val close_s, load_s, include_s, mod_s, modlast_s, line_s;
extern val counter_k, vars_k, env_k, var_k, into_k, named_k;
val match_expand_keyword_args(val elem);