caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Compiling with camlp4 extensions
@ 2012-06-22 15:53 Aaron Bohannon
  2012-06-22 16:36 ` Gabriel Scherer
  2012-06-22 18:01 ` [Caml-list] " Hongbo Zhang
  0 siblings, 2 replies; 7+ messages in thread
From: Aaron Bohannon @ 2012-06-22 15:53 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 451 bytes --]

Hi,

I have been trying to use the new camlp4 to write an OCaml syntax
extension.  All the examples I have seen so far suggest that I use the
extension by passing ocamlc the "-pp" option.  But it seems that all the
location info for error messages gets lost when I do this unless I catch
and report the parse error myself within the extension.  Is there some way
to get ocamlc to report the parse error at the correct location
automatically?

- Aaron

[-- Attachment #2: Type: text/html, Size: 486 bytes --]

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

end of thread, other threads:[~2012-06-23 17:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-22 15:53 [Caml-list] Compiling with camlp4 extensions Aaron Bohannon
2012-06-22 16:36 ` Gabriel Scherer
2012-06-23  0:43   ` Aaron Bohannon
2012-06-23  9:42     ` Gabriel Scherer
2012-06-23 13:41       ` Aaron Bohannon
2012-06-23 17:39         ` Gabriel Scherer
2012-06-22 18:01 ` [Caml-list] " Hongbo Zhang

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).