mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-28 07:22:27 -08:00
Patch-sharp the expression read by #. before executing it.
This commit is contained in:
parent
bfbde7508c
commit
9277765e4e
1 changed files with 4 additions and 0 deletions
|
|
@ -953,7 +953,11 @@ sharp_dot_reader(cl_object in, cl_object c, cl_object d)
|
|||
{
|
||||
if (d != Cnil && !read_suppress)
|
||||
extra_argument('.', in, d);
|
||||
/* FIXME! We should do something here to ensure that the #.
|
||||
* only uses the #n# that have been defined */
|
||||
c = ecl_read_object(in);
|
||||
if (!Null(ECL_SYM_VAL(env, @'si::*sharp-eq-context*')))
|
||||
c = patch_sharp(c);
|
||||
unlikely_if (c == OBJNULL)
|
||||
FEend_of_file(in);
|
||||
if (read_suppress)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue