}
case '#':
+ c = READCHAR;
+ if (c == '[')
+ {
+ /* Accept compiled functions at read-time so that we don't have to
+ build them using function calls. */
+ Lisp_Object tmp = read_vector (readcharfun);
+ return Fmake_byte_code (XVECTOR(tmp)->size, XVECTOR (tmp)->contents);
+ }
+ UNREAD (c);
return Fsignal (Qinvalid_read_syntax, Fcons (make_string ("#", 1), Qnil));
case ';':
break;
case Lisp_Compiled:
- strout ("#<byte-code ", -1, printcharfun);
+ strout ("#", -1, printcharfun);
case Lisp_Vector:
PRINTCHAR ('[');
{
}
}
PRINTCHAR (']');
- if (XTYPE (obj) == Lisp_Compiled)
- PRINTCHAR ('>');
break;
#ifndef standalone