Mercurial > hg > xemacs-beta
diff src/emacs.c @ 1983:9c872f33ecbe
[xemacs-hg @ 2004-04-05 22:49:31 by james]
Add bignum, ratio, and bigfloat support.
author | james |
---|---|
date | Mon, 05 Apr 2004 22:50:11 +0000 |
parents | 19c89a2e24b6 |
children | 2364237fbc0f |
line wrap: on
line diff
--- a/src/emacs.c Mon Apr 05 21:50:47 2004 +0000 +++ b/src/emacs.c Mon Apr 05 22:50:11 2004 +0000 @@ -1301,6 +1301,9 @@ #ifdef HAVE_SHLIB syms_of_module (); #endif +#ifdef WITH_NUMBER_TYPES + syms_of_number (); +#endif syms_of_objects (); syms_of_print (); #if !defined (NO_SUBPROCESSES) @@ -1816,6 +1819,9 @@ vars_of_dired_mswindows (); vars_of_nt (); #endif +#ifdef WITH_NUMBER_TYPES + vars_of_number (); +#endif vars_of_objects (); vars_of_print (); @@ -2275,6 +2281,12 @@ init_initial_directory (); /* get the directory to use for the "*scratch*" buffer, etc. */ +#ifdef WITH_NUMBER_TYPES + /* Set up bignums, ratios, bigfloats, complex numbers. + This must be done before the Lisp reader is set up. */ + init_number (); +#endif + init_lread (); /* Set up the Lisp reader. */ init_cmdargs (argc, (Extbyte **) argv, skip_args); /* Create list Vcommand_line_args */