"Joel E. Denny" <[EMAIL PROTECTED]> writes:

> As far as I can tell, Bison doesn't permit error token rules in any form 
> yet.  Right?

Right.  I was thinking if that got added.

>> 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?

Well, I dunno.  Suppose you're parsing HTML and have as a semantic
value a list of all the href= values in that subtree.  And when you
parse a busted subtree you still want its href= values.

Again, just thinking out loud.


Reply via email to