[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Factor %FLAG at scan level.

From: Joel E. Denny
Subject: Re: [PATCH] Factor %FLAG at scan level.
Date: Thu, 16 Apr 2009 22:52:23 -0400 (EDT)

On Wed, 15 Apr 2009, Akim Demaille wrote:

> <rms mode>We are miscommunicating here.</rms mode>


> when we replace
> yy::parser::yy_print_(symbol_type&) by an operator<<(ostream&, symbol_type&),

I was suggesting an alternative to that approach.

> So really, I don't
> understand what you mean in "the user will instead have to write %printer to
> invoke symbol_type operator<< if he wants to maximize code reuse".

This was the alternative I was suggesting.  It definitely doesn't make 
sense if you do indeed replace yy_print_ with operator<<, so I think we 
can ignore my suggestion.

> Am I making more sense?

For me, the misunderstanding seems resolved.  Thanks.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]