changeset 26632:493539fc5bb2

(Fmake_char_internal): Print the charset ID when signalling an error.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 28 Nov 1999 10:20:12 +0000
parents 8122fc2dd490
children 346fcfbf7123
files src/ChangeLog src/charset.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
Binary file src/ChangeLog has changed
--- a/src/charset.c	Sun Nov 28 10:16:33 1999 +0000
+++ b/src/charset.c	Sun Nov 28 10:20:12 1999 +0000
@@ -1080,7 +1080,7 @@
     }
 
   if (c1 < 0 || c1 > 0xFF || c2 < 0 || c2 > 0xFF)
-    error ("Invalid code points: %d %d", c1, c2);
+    error ("Invalid code points for charset ID %d: %d %d", charset_id, c1, c2);
   c1 &= 0x7F;
   c2 &= 0x7F;
   if (c1 == 0
@@ -1088,7 +1088,7 @@
       : (c2 == 0
 	 ? !CHAR_COMPONENTS_VALID_P (charset, c1, 0x20)
 	 : !CHAR_COMPONENTS_VALID_P (charset, c1, c2)))
-    error ("Invalid code points: %d %d", c1, c2);
+    error ("Invalid code points for charset ID %d: %d %d", charset_id, c1, c2);
 
   return make_number (MAKE_CHAR (charset_id, c1, c2));
 }