bison-patches
[Top][All Lists]
Advanced

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

Re: "notes" mechanism


From: Joel E. Denny
Subject: Re: "notes" mechanism
Date: Mon, 27 Jul 2009 13:47:24 -0400 (EDT)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

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

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