[U-Boot-Users] [DTC PATCH 1/2] Add yyerrorf() for formatted error messages.

Scott Wood scottwood at freescale.com
Fri Dec 21 22:28:56 CET 2007


On Fri, Dec 21, 2007 at 11:04:39AM +1100, David Gibson wrote:
> On Thu, Dec 20, 2007 at 10:48:23AM -0600, Scott Wood wrote:
> > Signed-off-by: Scott Wood <scottwood at freescale.com>
> 
> No need for a new function.  If yyerror() is defined as a varargs
> function it's still compatible with bison's built-in usage.

Not if yyerror() is called with a percent symbol in the string, which
looks possible if a percent token is added and verbose syntax errors are
enabled.

-Scott




More information about the U-Boot mailing list