summaryrefslogtreecommitdiffstats
path: root/arith.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-07-11 14:44:19 -0700
committerKaz Kylheku <kaz@kylheku.com>2020-07-11 14:44:19 -0700
commita6f6072761d124c60793325bc512048b0f31f5a3 (patch)
treed7cbb320dd5ffdd58afe9f2588c876141caca261 /arith.h
parent812e63ca8f42637f6a856e66f57678cbb0472821 (diff)
downloadtxr-a6f6072761d124c60793325bc512048b0f31f5a3.tar.gz
txr-a6f6072761d124c60793325bc512048b0f31f5a3.tar.bz2
txr-a6f6072761d124c60793325bc512048b0f31f5a3.zip
listener: new *-1, *-2 ... *-20 macros.
* arith.h (minus_s): Declared. * eval.c (reg_symacro): Changing to external linkage. * eval.h (macro_time_s, reg_symacro): Declared. * parser.c (repl): Bind the *-1 to *-20 symbol macros. * txr.1: Documented.
Diffstat (limited to 'arith.h')
-rw-r--r--arith.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arith.h b/arith.h
index 177b2417..2ae2bcf2 100644
--- a/arith.h
+++ b/arith.h
@@ -25,7 +25,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-extern val mod_s, bit_s;
+extern val mod_s, bit_s, minus_s;
val make_bignum(void);
val bignum(cnum cn);
val bignum_from_long(long l);