[
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: | -- (:) |
| From: | Nicolas Pouillard <nicolas.pouillard@g...> |
| Subject: | Re: [Caml-list] camlp4 Filters changed? |
Excerpts from joelr1's message of Sun Jan 27 17:07:15 +0100 2008: > I edited my code but I still get the "no expr" error in > > let strip_token_loc = object > inherit map as super > method expr e = > match super#expr e with > | `TokenPos (a, _) -> a > | e -> e > end > > I'll check the wiki but please let me know what other changes I missed. That's certainly because you need to define your types as one big definition (using "and"). type t1 = ... and t2 = ... and t3 = ... class map = Camlp4MapGenerator.generated; Because the generation declaration take only the last definition group now. > On Jan 27, 2008, at 12:58 PM, Nicolas Pouillard wrote: > > > It's now: > > > > class map = Camlp4MapGenerator.generated; > > > > I've just updated the wiki. > > > - > http://wagerlabs.com -- Nicolas Pouillard aka Ertai