summaryrefslogtreecommitdiff
path: root/srcpos.h
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2008-01-03 17:43:29 -0600
committerJon Loeliger <jdl@freescale.com>2008-01-04 08:04:15 -0600
commitf77fe6a20e75a2289faf86f9b6b529044a07b072 (patch)
tree3db42b3e19442e0af74954f860858e530b5d8653 /srcpos.h
parent3bb78bfd9758ff726ca80df2cb554a2f2df798a3 (diff)
downloaddtc-f77fe6a20e75a2289faf86f9b6b529044a07b072.tar.gz
Add yyerrorf() for formatted error messages.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Diffstat (limited to 'srcpos.h')
-rw-r--r--srcpos.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/srcpos.h b/srcpos.h
index ce7ab5b..e59c788 100644
--- a/srcpos.h
+++ b/srcpos.h
@@ -63,6 +63,7 @@ typedef struct YYLTYPE {
extern void yyerror(char const *);
+extern void yyerrorf(char const *, ...) __attribute__((format(printf, 1, 2)));
extern int srcpos_filenum;