Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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?

Cheers,
Erik
-- 
-----------------------------------------------------------------
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."