caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Stream parser in 3.03alpha ... ? <-> ??
@ 2001-11-29  2:17 Christophe Raffalli
  2001-11-29 10:39 ` Diego Olivier Fernandez Pons
  0 siblings, 1 reply; 3+ messages in thread
From: Christophe Raffalli @ 2001-11-29  2:17 UTC (permalink / raw)
  To: caml-list

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-11-29 22:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-29  2:17 [Caml-list] Stream parser in 3.03alpha ... ? <-> ?? Christophe Raffalli
2001-11-29 10:39 ` Diego Olivier Fernandez Pons
2001-11-29 22:56   ` Daniel de Rauglaudre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).