Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Possible bug in module and class?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Quetzalcoatl Bradley <qbradley@b...>
Subject: [Caml-list] Camlp4 pretty print comments

I'm trying to pretty print with camlp4 and have found a confusing 
discrepancy:

qbradley% cat comment.ml
(* abc *)
qbradley% camlp4r pr_r.cmo -impl comment.ml
(* abc *)
qbradley% cat comment.ml | camlp4r pr_r.cmo -impl -
qbradley% camlp4r -v
Camlp4 version 3.06

Why are comments not printed when the input is from standard input?

Thanks,

Quetzalcoatl Bradley
qbradley@blackfen.com
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners