caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Nicolas Pouillard <nicolas.pouillard@gmail.com>
To: Joel Reymont <joelr1@gmail.com>
Cc: O'Caml Mailing List <caml-list@yquem.inria.fr>
Subject: Re: [Caml-list] using a camlp4 man filter with my own type
Date: Thu, 05 Mar 2009 16:15:45 +0100	[thread overview]
Message-ID: <1236266061-sup-5219@ausone.inria.fr> (raw)
In-Reply-To: <333C38AD-C737-443A-B19A-9DF97E0DBF20@gmail.com>

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/easy_type_check.ml
> File "src/easy_type_check.ml", 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/easy_type_check.ml


-- 
Nicolas Pouillard


      reply	other threads:[~2009-03-05 15:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-05 15:04 Joel Reymont
2009-03-05 15:15 ` Nicolas Pouillard [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1236266061-sup-5219@ausone.inria.fr \
    --to=nicolas.pouillard@gmail.com \
    --cc=caml-list@yquem.inria.fr \
    --cc=joelr1@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).