caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Nicolas Pouillard" <nicolas.pouillard@gmail.com>
To: "Joel Reymont" <joelr1@gmail.com>
Cc: "Caml List" <caml-list@inria.fr>
Subject: Re: [Caml-list] Help with new camlp4
Date: Mon, 2 Apr 2007 11:14:37 +0200	[thread overview]
Message-ID: <cd67f63a0704020214g411f0594t8402eedcfeb9e59f@mail.gmail.com> (raw)
In-Reply-To: <5526ED79-3406-4700-9E95-20C631FE40BF@gmail.com>

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


  reply	other threads:[~2007-04-02  9:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-02  8:33 Joel Reymont
2007-04-02  9:14 ` Nicolas Pouillard [this message]
2007-04-02  9:21   ` [Caml-list] " Joel Reymont
2007-04-02  9:23     ` Joel Reymont
2007-04-02  9:28       ` Nicolas Pouillard
2007-04-02 12:24         ` Joel Reymont
2007-04-02 12:30           ` Joel Reymont
2007-04-02 13:47             ` Gabriel Kerneis
2007-04-02 13:54               ` Joel Reymont
2007-04-02 17:15                 ` Nicolas Pouillard
2007-04-02 12:40         ` Joel Reymont
2007-04-02 12:44           ` Joel Reymont

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cd67f63a0704020214g411f0594t8402eedcfeb9e59f@mail.gmail.com \
    --to=nicolas.pouillard@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=joelr1@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).