Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Stream parser in 3.03alpha ... ? <-> ??
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christophe Raffalli <Christophe.Raffalli@u...>
Subject: [Caml-list] Stream parser in 3.03alpha ... ? <-> ??
I just noticed something is missing in the Upgrading file for ocaml-3.03:

II Non-label changes

Q2: I get a syntax error when I try to compile a program using stream
    parsers.

A2: Stream parser now require camlp4. It is included in the
    distribution, and you just need to use "ocamlc -pp camlp4o" in
    place of "ocamlc".

Q2': I still get a syntax error when I try to compile a program using stream
    parsers.

A2': Hops, we did come back to a single question mark (? instead of ??) for
    error management in stream parser.

So the story is 
  ocaml < 2.99 =          a single question mark
  ocaml >= 2.99 < 3.03    two question marks
  ocaml >= 3.03           a single question mark

PLEASE stay with two question marks because maintening OCaml software so that
they compile with many versions will become a nightmare soon :-(

-- 
Christophe Raffalli
Université de Savoie
Batiment Le Chablais, bureau 21
73376 Le Bourget-du-Lac Cedex

tél: (33) 4 79 75 81 03
fax: (33) 4 79 75 87 42
mail: Christophe.Raffalli@univ-savoie.fr
www: http://www.lama.univ-savoie.fr/~RAFFALLI
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr