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
Handling include files using ocamllex
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-08-02 (10:09)
From: Erik de Castro Lopo <mle+ocaml@m...>
Subject: Handling include files using ocamllex
Hi all,

I doing some simple parsing with ocamllex and ocamlyacc and I need 
to be able to handle C style include files.

I know how to do this in C with flex and bison, but I can't figure
out how to do it with ocamllex and ocamlyacc.

Anyone know how to do this?

Erik de Castro Lopo
J. Headley: "God, root, what is difference ?"
G. Haverland: "God can change the byte order on the CPU, root can't."