Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Joel Reymont <joelr1@gmail.com>
To: caml-list List <caml-list@inria.fr>
Subject: camlp4 Filters changed?
Date: Sat, 26 Jan 2008 00:34:25 +0000	[thread overview]
Message-ID: <DE2ADA79-93E9-4FF9-95ED-0C11459D4525@gmail.com> (raw)

I get the error "This expression has no method expr" and it points to  
super#expr below.

Is there no expr in map anymore or am I doing something wrong?

class map = Camlp4Filters.GenerateMap.generated;;

let strip_token_loc = object
   inherit map as super
   method expr e =
     match super#expr e with
       | `TokenPos (a, _) -> a
       | e                -> e
end

	Thanks, Joel

--
http://wagerlabs.com




             reply	other threads:[~2008-01-26  0:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-26  0:34 Joel Reymont [this message]
2008-01-27 12:58 ` [Caml-list] " Nicolas Pouillard
2008-01-27 16:07   ` Joel Reymont
2008-01-27 16:32     ` Nicolas Pouillard
2008-01-27 16:37       ` Joel Reymont
2008-01-27 17:24         ` Nicolas Pouillard

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=DE2ADA79-93E9-4FF9-95ED-0C11459D4525@gmail.com \
    --to=joelr1@gmail.com \
    --cc=caml-list@inria.fr \
    /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