Version française
Home     About     Download     Resources     Contact us    
Browse thread
New Camlp4 questions
[ 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] New Camlp4 questions
On 6/7/07, Dmitry Bely <dmitry.bely@gmail.com> wrote:
> Still trying to convert IoXML to the new Camlp4 syntax. What is an
> equivalent for
>
> Pcaml.warning.val loc "Warning: IoXML not implemented for this type";

In the last version it's:

open Camlp4.PreCast;;

Syntax.print_warning loc "...."

[...]

> How to write value type_declaration? I cannot use Gram.Entry.find as
> it is now commented out together with the whole Gram.Find module. Why?

Look at the grammar the type_declaration entry is exported now.

All the best,

-- 
Nicolas Pouillard