projects
/
chise
/
xemacs-chise.git-
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update.
[chise/xemacs-chise.git-]
/
src
/
data.c
diff --git
a/src/data.c
b/src/data.c
index
2309297
..
d4792d2
100644
(file)
--- a/
src/data.c
+++ b/
src/data.c
@@
-770,7
+770,7
@@
ARRAY may be a vector, bit vector, or string. INDEX starts at 0.
{
CHECK_CHAR_COERCE_INT (newval);
if (idx >= XSTRING_CHAR_LENGTH (array)) goto range_error;
{
CHECK_CHAR_COERCE_INT (newval);
if (idx >= XSTRING_CHAR_LENGTH (array)) goto range_error;
- set_string_char (XSTRING (array), idx, XCHAR (newval));
+ set_string_char (XSTRING (array), idx, (unsigned char) XCHAR (newval));
bump_string_modiff (array);
}
else
bump_string_modiff (array);
}
else
@@
-1064,7
+1064,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 */
@@
-2076,6
+2076,8
@@
init_errors_once_early (void)
void
syms_of_data (void)
{
void
syms_of_data (void)
{
+ INIT_LRECORD_IMPLEMENTATION (weak_list);
+
defsymbol (&Qquote, "quote");
defsymbol (&Qlambda, "lambda");
defsymbol (&Qlistp, "listp");
defsymbol (&Qquote, "quote");
defsymbol (&Qlambda, "lambda");
defsymbol (&Qlistp, "listp");