Version française
Home     About     Download     Resources     Contact us    
Browse thread
camlp4: inserting code at the beginning of a file
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: camlp4: inserting code at the beginning of a file
I'm using the trick described below to insert code in front of a file
being processed by camlp4, and it works, but as Martin Jambon
describes it screws up the output of the pretty printer.

http://martin.jambon.free.fr/extend-ocaml-syntax.html#inserting-bof

Is this a bug in camlp4, or in the tutorial, and either way is there
anything I can do about it?

Rich.

-- 
Richard Jones, CTO Merjis Ltd.
Merjis - web marketing and technology - http://merjis.com
Team Notepad - intranets and extranets for business - http://team-notepad.com