Hello,
is this a known bug?
Needed to change code from
with Invalid_argument("Strings.sub")
to
with Invalid_argument("Bytes.sub")
The code now looks like this and then works again:
try
if parser_url_len > 0 && parser_url = String.sub url 0 parser_url_len then parser_name else aux tl
with Invalid_argument("Bytes.sub") -> aux tl (* this happens if url is shorter than parser_url *)
Ciao,
Oliver
--
Caml-list mailing list. Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs