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: Joel Reymont <joelr1@g...>
Subject: Help with new camlp4
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?

	Thanks, Joel

--
http://wagerlabs.com/