Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] O'Caml looks at the contents of comments?!
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Stephane Legrand <stephane@f...>
Subject: Re: [Caml-list] O'Caml looks at the contents of comments?!
On Sat, Sep 13, 2003 at 11:45:52AM +0100, Jim Farrand wrote:
> ...
> Eventually I traced the error to an unterminated string inside a
> comment.  This strikes me as slightly odd behaviour - one of the first
> things comp sci students are taught about comments is that the compiler
> ignores them.  As this has been my experience for many years it took me
> a long time to even consider that I could have a syntax error inside a
> comment.
> 
> So why is this restriction enforced?
> ...

It's a FAQ: http://caml.inria.fr/FAQ/FAQ_EXPERT-eng.html#commentaire


Regards,
Stephane.

-- 
<stephane@freebsd-fr.org> - <stephane@freebsd.org>          (\(__)/)
FreeBSD Francophone : www.freebsd-fr.org                     `(QQ)'
Club Unix/Log. libres Cosne/Loire : www.cosnix.org            )  (
                                                             (o  o)
% ATTAC : www.attac.org                                       `--'

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners