diff src/floatfns.c @ 771:943eaba38521

[xemacs-hg @ 2002-03-13 08:51:24 by ben] The big ben-mule-21-5 check-in! Various files were added and deleted. See CHANGES-ben-mule. There are still some test suite failures. No crashes, though. Many of the failures have to do with problems in the test suite itself rather than in the actual code. I'll be addressing these in the next day or so -- none of the test suite failures are at all critical. Meanwhile I'll be trying to address the biggest issues -- i.e. build or run failures, which will almost certainly happen on various platforms. All comments should be sent to ben@xemacs.org -- use a Cc: if necessary when sending to mailing lists. There will be pre- and post- tags, something like pre-ben-mule-21-5-merge-in, and post-ben-mule-21-5-merge-in.
author ben
date Wed, 13 Mar 2002 08:54:06 +0000
parents fdefd0186b75
children c925bacdda60
line wrap: on
line diff
--- a/src/floatfns.c	Fri Mar 08 13:33:14 2002 +0000
+++ b/src/floatfns.c	Wed Mar 13 08:54:06 2002 +0000
@@ -51,8 +51,6 @@
 
 #ifdef LISP_FLOAT_TYPE
 
-/* Need to define a differentiating symbol -- see sysfloat.h */
-#define THIS_FILENAME floatfns
 #include "sysfloat.h"
 
 /* The code uses emacs_rint, so that it works to undefine HAVE_RINT
@@ -112,15 +110,15 @@
 
 
 #define arith_error(op,arg) \
-  Fsignal (Qarith_error, list2 (build_string (op), arg))
+  Fsignal (Qarith_error, list2 (build_msg_string (op), arg))
 #define range_error(op,arg) \
-  Fsignal (Qrange_error, list2 (build_string (op), arg))
+  Fsignal (Qrange_error, list2 (build_msg_string (op), arg))
 #define range_error2(op,a1,a2) \
-  Fsignal (Qrange_error, list3 (build_string (op), a1, a2))
+  Fsignal (Qrange_error, list3 (build_msg_string (op), a1, a2))
 #define domain_error(op,arg) \
-  Fsignal (Qdomain_error, list2 (build_string (op), arg))
+  Fsignal (Qdomain_error, list2 (build_msg_string (op), arg))
 #define domain_error2(op,a1,a2) \
-  Fsignal (Qdomain_error, list3 (build_string (op), a1, a2))
+  Fsignal (Qdomain_error, list3 (build_msg_string (op), a1, a2))
 
 
 /* Convert float to Lisp Integer if it fits, else signal a range