English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
weird behavior with camlp4o
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-04-09 (02:45)
From: Andrew I. Schein <andrew@a...>
Subject: weird behavior with camlp4o
Greetings list -

I was playing around with OCaml 3.10.2 camlp4o like this:

camlp4o pa_breakcont.cmo sample1.ml

with my macro pa_breakcont.cmo and got the expected macro translation
printed to my terminal.  However, when I type:

camlp4o pa_breakcont.cmo sample1.ml > out.ml

out.ml contains binary output.  Am I misusing camlp4o?