On 3/28/07, Hugo Ferreira <[EMAIL PROTECTED]> wrote:
>
> Hello,
>

[...]

> let set_opens loc s =
>          let o1 = <:str_item< open Symbl_tbl3 >> in
>          let opens = <:str_item<[$o1$]>>
>          in
>            if s = "Logic" then opens
>                           else <:str_item< open $uid:s$ >>


In this camlp4 version it's:

<:str_item< declare $o1$; $o2$; end >>

Note: In 3.10 the hack of changing the parser to add things to the
tree in more required (camlp4 filters can do that).

-- 
Nicolas Pouillard

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ocaml-developer" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/ocaml-developer?hl=en
For other OCaml forums, see http://caml.inria.fr/resources/forums.en.html
-~----------~----~----~----~------~----~------~--~---

Reply via email to