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 _______________________________________________ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison