On Mon, 21 Aug 2006, Paul Eggert wrote: > Obviously it's bogus to copy the value from the lookahead token. But > what about "error: ...;" rules? For them, it sort of makes sense to > have a type for the error token.
As far as I can tell, Bison doesn't permit error token rules in any form yet. Right? > Perhaps if we had some way to specify the semantic value for an error > token that is generated internally by the parser? Just thinking out > loud here. Can you give me an example of how error token values would be useful? Joel
