On Sun, 7 Sep 2008, Gibney, Dave wrote:

>    I would suggest that you might be losing usefull information by
> ignoring comments :)
> 

You are likely correct. However, processing comments in the Bison parser 
instead of the Flex lexer code would seriously complicate the parser. In 
the lexer, it is really fairly simple.

The best that I could think of would be to save all the comments and then 
present them as a single comment from the lexer code. I guess that I could 
separate each card's comment with a special character of some sort. But 
there would be no way to relate a comment to the data which came off of 
the same physical card. No way am I going to try to do that!

-- 
Q: What do theoretical physicists drink beer from?
A: An EIN stein.

Maranatha!
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to