Browse thread
Polymorphic map and OO syntax extension
-
Jacques Garrigue
-
Marc Lasson
- Jacques Garrigue
- Martin Jambon
-
Marc Lasson
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Jacques Garrigue <garrigue@m...> |
| Subject: | Re: [Caml-list] OO syntax extension |
From: Marc Lasson <titmarc@free.fr> > I am very interested in your OO syntax extension but i did not succeed > to compile it. > I get the following error: > > marc@georgie:~$ ocamlc -I +camlp4 -c -pp 'camlp4o pa_extend.cmo > q_MLast.cmo' pa_oo.ml > File "pa_oo.ml", line 12, characters -249--249: > Unbound value loc > > The error's position looks very weird. Since i can't speak camlp4, i'm > unable to fix it. > Is it serious doctor ? > > marc@georgie:~$ ocamlc -v && camlp4o -v > The Objective Caml compiler, version 3.08.2 > Standard library directory: /usr/lib/ocaml/3.08 > Camlp4 version 3.08.2 Simplest fix: upgrade to 3.08.3. "loc" was changed to "_loc" between 3.08.2 and 3.08.3. You can also replace all occurrences of "_loc" in the source by "loc". Jacques Garrigue