APPROVE COMMIT
NOTE: This patch has been committed
# HG changeset patch
# User Aidan Kehoe <kehoea(a)parhasard.net>
# Date 1494486788 -3600
# Thu May 11 08:13:08 2017 +0100
# Node ID a0268c5597f37d95723b9570254be522f714986c
# Parent eec2a31de9d67f78b606314136ed13abb364046d
Fix dummy chartab_range initializers.
diff -r eec2a31de9d6 -r a0268c5597f3 src/ChangeLog
--- a/src/ChangeLog Sat Apr 22 00:23:36 2017 +0100
+++ b/src/ChangeLog Thu May 11 08:13:08 2017 +0100
@@ -1,3 +1,10 @@
+2017-04-27 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * chartab.c (char_table_print_preprocess):
+ (char_table_nsubst_structures_descend):
+ data.c (build_fixnum_to_char_map):
+ Fix chartab_range initializers.
+
2017-04-21 Aidan Kehoe <kehoea(a)parhasard.net>
* elhash.c (intern_istring):
diff -r eec2a31de9d6 -r a0268c5597f3 src/chartab.c
--- a/src/chartab.c Sat Apr 22 00:23:36 2017 +0100
+++ b/src/chartab.c Thu May 11 08:13:08 2017 +0100
@@ -157,7 +157,7 @@
char_table_print_preprocess (Lisp_Object object, Lisp_Object print_number_table,
Elemcount *seen_object_count)
{
- struct chartab_range ctr = { CHARTAB_RANGE_ALL, 0, Qnil, 0 };
+ struct chartab_range ctr = { CHARTAB_RANGE_ALL, 0, 0, Qnil, 0 };
preprocess_info_t preprocess_info = { print_number_table, seen_object_count };
map_char_table (object, &ctr, print_preprocess_mapper, &preprocess_info);
}
@@ -193,7 +193,7 @@
Lisp_Object number_table,
Boolint test_not_unboundp)
{
- struct chartab_range ctr = { CHARTAB_RANGE_ALL, 0, Qnil, 0 };
+ struct chartab_range ctr = { CHARTAB_RANGE_ALL, 0, 0, Qnil, 0 };
nsubst_structures_info_t nsubst_structures_info
= { number_table, new_, old, object, test_not_unboundp };
diff -r eec2a31de9d6 -r a0268c5597f3 src/data.c
--- a/src/data.c Sat Apr 22 00:23:36 2017 +0100
+++ b/src/data.c Thu May 11 08:13:08 2017 +0100
@@ -1504,7 +1504,7 @@
build_fixnum_to_char_map (Lisp_Object radix_table)
{
Lisp_Object highest_value, result;
- struct chartab_range ctr = { CHARTAB_RANGE_ALL, 0, Qnil, 0 };
+ struct chartab_range ctr = { CHARTAB_RANGE_ALL, 0, 0, Qnil, 0 };
Ichar *cctable;
EMACS_INT ii, cclen;
Ibyte *data;
--
‘As I sat looking up at the Guinness ad, I could never figure out /
How your man stayed up on the surfboard after forty pints of stout’
(C. Moore)