The attached program prints out

    let x = """;;

when compiled with ocamlc and camlp4 version 3.12.0.  As you can see,
the string literal lacks an escape character.  I haven't tried version
3.12.1, but I didn't find anything about it in the release notes.  (To
reproduce:

    ocamlc.opt -c -I +camlp4 -pp camlp4orf -o quotation_bug.cmo quotation_bug.ml
    ocamlc.opt dynlink.cma -I +camlp4 camlp4lib.cma quotation_bug.cmo
-o quotation_bug.byte
    ./quotation_bug.byte
)

Petter

-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Attachment: quotation_bug.ml
Description: Binary data

Reply via email to