From: Erik de Castro Lopo <mle+ocaml@mega-nerd.com>
To: caml-list@yquem.inria.fr
Subject: Handling include files using ocamllex
Date: Thu, 2 Aug 2007 20:09:33 +1000 [thread overview]
Message-ID: <20070802200933.3621fb1a.mle+ocaml@mega-nerd.com> (raw)
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."
next reply other threads:[~2007-08-02 10:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-02 10:09 Erik de Castro Lopo [this message]
2007-08-02 10:29 ` [SPAM?][Caml-list] " Christoph Bauer
2007-08-02 10:42 ` [Caml-list] " Erik de Castro Lopo
2007-08-02 13:19 ` [SPAM?][Caml-list] " skaller
2007-08-05 4:52 ` [Caml-list] " Erik de Castro Lopo
2007-08-05 5:35 ` Erik de Castro Lopo
2007-08-05 10:16 ` skaller
2007-08-05 10:33 ` Erik de Castro Lopo
2007-08-05 11:55 ` Jacques GARRIGUE
2007-08-05 12:17 ` Erik de Castro Lopo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070802200933.3621fb1a.mle+ocaml@mega-nerd.com \
--to=mle+ocaml@mega-nerd.com \
--cc=caml-list@yquem.inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox