[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: | 2005-06-06 (03:05) |
From: | Martin Jambon <martin_jambon@e...> |
Subject: | Re: [Caml-list] camlp4 behavior |
On Sun, 5 Jun 2005, mulhern wrote: > Why does camlp4 fail to parse mLast.mli when invoked in the following way: > > camlp4 -I /usr/local/godi/lib/ocaml/std-lib/camlp4 pa_o.cmo > /usr/local/godi/lib/ocaml/std-lib/camlp4/mLast.mli > File "/usr/local/godi/lib/ocaml/std-lib/camlp4/mLast.mli", line 22, > characters 46-47: > Parse error: [interf] expected after [sig_item_semi] (in [interf]) > Uncaught exception: Stream.Error("[interf] expected after > [sig_item_semi] (in [interf])") Because it was written in the revised syntax: you should use pa_r.cmo instead of pa_o.cmo, or directly camlp4r (man camlp4). Martin -- Martin Jambon, PhD http://martin.jambon.free.fr