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: Re: [Caml-list] Help with new camlp4

On Apr 2, 2007, at 10:21 AM, Joel Reymont wrote:

> 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
>
> on
>
> let loc = Token.dummy_loc ;;

This is easy, actually.

open Camlp4.PreCast

let loc = Loc.ghost

--
http://wagerlabs.com/