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
no error with ocamlc, a syntax error with ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-09-29 (08:25)
From: micha <micha-1@f...>
Subject: Re: [Caml-list] no error with ocamlc, a syntax error with ocaml
Am Fri, 29 Sep 2006 09:54:09 +0200
schrieb Francois Colonna <colonna@ccr.jussieu.fr>:

> Hello,
> the small ocaml program attached gives no errors at compilation
> ocamlc -c tuvuw_from_data_error.ml
> and this syntax error at execution:

the compiled program runs without errors. Also if you do:
#use "tuvuw_from_data_error.ml";;

it runs without errors. So I think the error comes from the redirecting
of the input by the shell...