Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] autoconf and caml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-09-05 (12:53)
From: Olivier Andrieu <andrieu@i...>
Subject: Re: [Caml-list] autoconf and caml
 Kenneth Oksanen [Thursday 5 September 2002] :
 > The extra whitespaces in the string constants are crucial.  The intent
 > of the output of ocamllex was that they would *not* be included in the
 > strings, but cpp mangles those strings so that they are included in
 > the strings, thereby producing a broken lexer.

In fact there are other pitfalls : cpp only accept lexically correct C
input but ocaml lexical conventions are different. For instance 'a
(type variables) are rejected by cpp if there are an odd number of
them on a line  ("missing terminating ' character").

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: