<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2005/05/a304a00b674799d55ab92c567bd7fd56"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2005-05-22T19:32:07"
  subject="camlp4: inserting code at the beginning of a file"
  prev="2005/05/348d1df3a9d23cfd580e425405a518a2"
  next="2005/05/08a5de07b3966e3891a8f2348a4abe59"
  prev-thread="2005/05/348d1df3a9d23cfd580e425405a518a2"
  next-thread="2005/05/08a5de07b3966e3891a8f2348a4abe59"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="camlp4: inserting code at the beginning of a file">
<msg 
  url="2005/05/a304a00b674799d55ab92c567bd7fd56"
  from="Richard Jones &lt;rich@a...&gt;"
  author="Richard Jones"
  date="2005-05-22T19:32:07"
  subject="camlp4: inserting code at the beginning of a file">
</msg>
</thread>

<contents>
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

</contents>

</message>

