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
Syntactic inclusion of in ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Sébastien Hinderer <Sebastien.Hinderer@e...>
Subject: Syntactic inclusion of in ?
Dear all,

(How) is it possible to include syntactically a file in a file ?

One method that seems to w)rk is to rename to,
and then have in a line saying
#include ""
And with this, gcc -E >
produces a file that ocamlc can apparently handle.

But is this considered a good solution, or is some better solution
available ?

Many thanks in advance,