Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
* camlp4 Filters changed?
@ 2008-01-26  0:34 Joel Reymont
  2008-01-27 12:58 ` [Caml-list] " Nicolas Pouillard
  0 siblings, 1 reply; 6+ messages in thread
From: Joel Reymont @ 2008-01-26  0:34 UTC (permalink / raw)
  To: caml-list List

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




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-01-27 17:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-26  0:34 camlp4 Filters changed? Joel Reymont
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox