[PATCH] Create new and use new print_error that uses printf style formatting.
David Gibson
david at gibson.dropbear.id.au
Tue Oct 19 11:49:51 EST 2010
On Mon, Oct 18, 2010 at 01:10:39PM -0700, John Bonesio wrote:
> yyerror is meant to be called by the parser internal code, and it's
> interface is limited. Instead create and call a new error message
> routine that allows formatted strings to be used.
>
> yyerror uses the new routine so error formatting remains consistent.
> Signed-of-by: John Bonesio <bones at secretlab.ca>
The name doesn't really capture the difference between print_error()
and srcpos_error(), but that's a footling detail we can fix some other
time.
Acked-by: David Gibson <david at gibson.dropbear.id.au>
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
More information about the devicetree-discuss
mailing list