On Fri, 24 Jul 2009, Alex Rozenman wrote:

> I would like to add a new kind of user notification messages: "notes".
> note_at will print the specified message exactly as is (without "warning"
> word) and will not set any indicators (complaint_issued, warning_issued
> etc).
> I'm planning to use them in my sub-messages, actually only the main message
> will be error/warning, as we discussed.
> Please approve/advice.

In the past, I believe Bison has printed "warning" in front of every line 
that's part of a warning.  I'm not sure we should depart from that 
practice.

Can you explain your motivation a little more?  Is it that you want to 
reuse the same *_at invocations to list variants in both the warning and 
complaint cases?  You could add to note_at a bool argument that specifies 
whether to invoke warn_at or complain_at.


Reply via email to