You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to load bytecode files using the Topdirs.dir_load
function.
Unfortunately, this doesn't catch the exception Symtable.Error. This function is
not very useful without suitable diagnostic information. As a hack,
I have modified:
Topdirs.dir_load Format.err_formatter name
into:
let filename = Filename.temp_file "fort" ".ml" in
bracket open_out close_out (fun oc ->
Printf.fprintf oc "#load \"%s\"\n" name
) filename;
let result = Toploop.use_silently Format.err_formatter filename in
Sys.remove filename;
The text was updated successfully, but these errors were encountered:
I would like to be able to load bytecode files using the Topdirs.dir_load
function.
Unfortunately, this doesn't catch the exception Symtable.Error. This function
is
not very useful without suitable diagnostic information.
In the process of allowing to load files from the command line, I've added a
Topdirs.load_file function, which doesn't fail. It is now in CVS.
Notice that it may move to another file in the future, as the right place is yet
to be found.
Original bug ID: 548
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: feature
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Patrick Doane
Version: 3.02
OS: FreeBSD
Submission from: cs6669231-128.austin.rr.com (66.69.231.128)
I would like to be able to load bytecode files using the Topdirs.dir_load
function.
Unfortunately, this doesn't catch the exception Symtable.Error. This function is
not very useful without suitable diagnostic information. As a hack,
I have modified:
into:
The text was updated successfully, but these errors were encountered: