|
From: | Timothy Madden |
Subject: | Re: How to read an understand the bison report file ? |
Date: | Wed, 27 Jun 2012 14:26:32 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20120607 Thunderbird/10.0.5 |
On 06/27/2012 09:44 AM, Akim Demaille wrote: [...]
Either you need to completely change the way you handle the spaces/comments, or you have to use GLR, as Hans suggested.
I would hate to find that I have to push all whitespace/comments into the content (semantic value) of the lexer tokens, so the grammar does not get to see it.
On the other hand, I could not get GLR with C++ yet... Thank you, Timothy Madden
[Prev in Thread] | Current Thread | [Next in Thread] |