English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2007-04-02 (08:33)
From: Joel Reymont <joelr1@g...>
Subject: Help with new camlp4

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  

Points to $lid:name$ in the following bit of code

                                 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?

	Thanks, Joel