Recursively process the output of MAKE-ENCODING

This commit is contained in:
Juanjo Garcia-Ripoll 2012-05-30 16:18:49 +02:00
parent 69d36f73bd
commit a85aa2fa1c

View file

@ -3063,9 +3063,8 @@ parse_external_format(cl_object stream, cl_object format, int flags)
return (flags & ~ECL_STREAM_FORMAT) | ECL_STREAM_USER_FORMAT;
}
if (SYMBOLP(format)) {
stream->stream.format_table = _ecl_funcall2(@'ext::make-encoding',
format);
return (flags & ~ECL_STREAM_FORMAT) | ECL_STREAM_USER_FORMAT;
format = _ecl_funcall2(@'ext::make-encoding', format);
return parse_external_format(stream, format, flags);
}
#endif
FEerror("Unknown or unsupported external format: ~A", 1, format);