Bruce Korb <[EMAIL PROTECTED]> writes:
>
>         port = scm_mkstrport( SCM_INUM0, expr, SCM_OPN | SCM_RDNG, zEx );

scm_open_input_string is probably easier.

>         pt->line_number = line - 1;
>         pt->file_name   = file;

Maybe scm_set_port_line_x and scm_set_port_filename_x instead of
mucking about with the ptab structure.

Apart from that a string port sounds good to me (without actually
trying it :-).


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel

Reply via email to