[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
using flex for source-hilighting
From: |
Janus N. |
Subject: |
using flex for source-hilighting |
Date: |
09 Jun 2002 17:30:59 +0200 |
Dear Sirs,
I've written a flex program that spits out a HTML formatted version of
input in c++. My problem now is that I want to use this lexer to give me
information about each keyword, string, number etc. found. I want the
start and end file positions of the token matched.
Any hint on how I can do this? Or isn't flex capable of this?
Thank you.
--
Janus Nørgaard Tøndering
email: address@hidden or address@hidden
"Would you buy a car with the hood welded shut?"
-Phil Hughes, Linux Journal Magazine
- using flex for source-hilighting,
Janus N. <=