#\ should not rebind the readtable when reading the character name.

This commit is contained in:
Juan Jose Garcia Ripoll 2012-02-09 21:26:27 +01:00
parent 1424215176
commit bc0c5db519

View file

@ -659,10 +659,8 @@ sharp_backslash_reader(cl_object in, cl_object c, cl_object d)
FEreader_error("~S is an illegal CHAR-FONT.", in, 1, d);
}
}
ecl_bds_bind(env, @'*readtable*', cl_core.standard_readtable);
token = ecl_read_object_with_delimiter(in, EOF, ECL_READ_ONLY_TOKEN,
cat_single_escape);
ecl_bds_unwind1(env);
if (token == Cnil) {
c = Cnil;
} else if (TOKEN_STRING_FILLP(token) == 1) {