Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] autoconf and caml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Stefano Zacchiroli <zack@c...>
Subject: Re: pa_ifdef [Was: Re: [Caml-list] autoconf and caml]
On Fri, Sep 06, 2002 at 02:52:59PM +0200, Daniel de Rauglaudre wrote:
> Yes, it is possible. In pa_ifdef.ml, there is a call to the grammar
> entry Pcaml.str_item:
<snip>
> If you prefer the "revised syntax", the syntax rule must be:
>       | sil = LIST1 [ x = Pcaml.str_item; ";" -> x ] ->
<snip>

Thanks for the hint.

> I did not implement it in pa_ifdef.ml because of this difference
> between "normal" and "revised" syntax.

BTW, isn't possible to discriminate inside camlp4 if you are using the
standard syntax or the revised one?
I really think that the 'normal' handling of conditional compilation is
a usefull feature to be distributed along with camlp4.

Cheers.

-- 
Stefano Zacchiroli - undergraduate student of CS @ Univ. Bologna, Italy
zack@cs.unibo.it | ICQ# 33538863 | http://www.cs.unibo.it/~zacchiro
"I know you believe you understood what you think I said, but I am not
sure you realize that what you heard is not what I meant!" -- G.Romney
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners