Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
using a camlp4 man filter with my own type
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] using a camlp4 man filter with my own type
Excerpts from Joel Reymont's message of Thu Mar 05 16:04:09 +0100 2009:
> I looked at the Camlp4 filter wiki [1] but still can't figure this out.
> + ocamlfind ocamlc -package 'oUnit, dyp, extlib' -c -I +camlp4 -g -w a  
> -pp 'camlp4of -I src -filter map' -I src -o src/easy_type_check.cmo  
> src/
> File "src/", line 45, characters 10-15:
> Error: This expression has no method expr
> This used to work fine in 3.10.x and the error points to "match  
> super#expr e with" in strip_token_loc below.

Can you look at (or post) the result of the generation?

$ camlp4of -I src -filter map src/

Nicolas Pouillard