Version française
Home     About     Download     Resources     Contact us    
Browse thread
Help with new camlp4
[ 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] Help with new camlp4
On 4/2/07, Joel Reymont <joelr1@gmail.com> wrote:
> Folks,
>
> This error
>
> File "q_octal.ml", line 183, characters 40-49:
> While expanding quotation "expr":
>    Parse error: "::" or "]" expected after [sem_patt_for_list] (in
> [patt])
>
> Points to $lid:name$ in the following bit of code
>
>                          (<:expr<
>                                  match $exp$ with
>                                  [ Some $lid:name$ -> $subast$ | None
> -> []]
>                          >>, StringSet.add var (StringSet.remove name
> vars), true
>
> How do I fix this in the new camlp4 and where is this documented?
>

It depends on the camlp4 used. I think that you want to use camlp4orf
to compile that code.

-- 
Nicolas Pouillard