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 (09:21)
From: Joel Reymont <joelr1@g...>
Subject: Re: [Caml-list] Help with new camlp4

On Apr 2, 2007, at 10:14 AM, Nicolas Pouillard wrote:

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

I'm compiling Octal[1] and used camlp4of previously. Trying camlp4orf  
but get

ocamlc.opt -c -I +camlp4 -pp 'camlp4orf -loc loc' q_octal.ml
File "q_octal.ml", line 23, characters 10-25:
Unbound value Token.dummy_loc


let loc = Token.dummy_loc ;;

Digging around now...

	Thanks, Joel

[1] http://ssel.vub.ac.be/svn-gen/bdefrain/octal/