summaryrefslogtreecommitdiffstats
path: root/lib.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-09-01 21:49:00 -0700
committerKaz Kylheku <kaz@kylheku.com>2014-09-01 21:49:00 -0700
commit0207bdeab644efddce25225c7344aabfb6d73f1f (patch)
tree7de26f21398caa905761ef7be5a3aa2a8f8c0a78 /lib.c
parent2218cb8cef4962308bc5b4825e1f07fced9ebbc1 (diff)
downloadtxr-0207bdeab644efddce25225c7344aabfb6d73f1f.tar.gz
txr-0207bdeab644efddce25225c7344aabfb6d73f1f.tar.bz2
txr-0207bdeab644efddce25225c7344aabfb6d73f1f.zip
* arith.c (arith_init): Register some variables: *flo-dig*,
*flo-min*, *flo-max*, *flo-epsilon*, *pi* and *e*. * genvim.txr: Include arith.c in scan for symbols. * lib.c (init): arith_init() must now be called after eval_init(). * txr.1: Documented new variables.. * txr.vim: Updated.
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.c b/lib.c
index a95e68a5..7bfccdaa 100644
--- a/lib.c
+++ b/lib.c
@@ -6623,9 +6623,9 @@ void init(const wchar_t *pn, mem_t *(*oom)(mem_t *, size_t),
oom_realloc = oom;
gc_init(stack_bottom);
obj_init();
- arith_init();
uw_init();
eval_init();
+ arith_init();
rand_init();
stream_init();
#if HAVE_POSIX_SIGS