commit | c0fa2e6d4e59e62f2e9f23db1a2d94532fa4ae98 | [log] [tgz] |
---|---|---|
author | John Bonesio <bones@secretlab.ca> | Wed Oct 20 14:44:58 2010 -0700 |
committer | Grant Likely <grant.likely@secretlab.ca> | Wed Oct 20 22:36:53 2010 -0600 |
tree | 9e465279a18f3a05bc314a0d20db3b3605a17556 | |
parent | 8773e12fa9f5109172a779aa2a83b4464e5273cc [diff] |
Create new and use new print_error that uses printf style formatting. 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@secretlab.ca> Acked-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>