projects
/
chise
/
xemacs-chise.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(ideographic-radicals): New constant.
[chise/xemacs-chise.git]
/
src
/
data.c
diff --git
a/src/data.c
b/src/data.c
index
0bfe462
..
310d76a
100644
(file)
--- a/
src/data.c
+++ b/
src/data.c
@@
-1068,7
+1068,7
@@
Floating point numbers always use base 10.
p++;
#ifdef LISP_FLOAT_TYPE
p++;
#ifdef LISP_FLOAT_TYPE
- if (isfloat_string (p))
+ if (isfloat_string (p) && b == 10)
return make_float (atof (p));
#endif /* LISP_FLOAT_TYPE */
return make_float (atof (p));
#endif /* LISP_FLOAT_TYPE */
@@
-1623,9
+1623,16
@@
make_weak_list (enum weak_list_type type)
return result;
}
return result;
}
+static const struct lrecord_description weak_list_description[] = {
+ { XD_LISP_OBJECT, offsetof(struct weak_list, list), 1 },
+ { XD_LISP_OBJECT, offsetof(struct weak_list, next_weak), 1 },
+ { XD_END }
+};
+
DEFINE_LRECORD_IMPLEMENTATION ("weak-list", weak_list,
mark_weak_list, print_weak_list,
0, weak_list_equal, weak_list_hash,
DEFINE_LRECORD_IMPLEMENTATION ("weak-list", weak_list,
mark_weak_list, print_weak_list,
0, weak_list_equal, weak_list_hash,
+ weak_list_description,
struct weak_list);
/*
-- we do not mark the list elements (either the elements themselves
struct weak_list);
/*
-- we do not mark the list elements (either the elements themselves