Mercurial > hg > CbC > CbC_gcc
diff gcc/gengtype.h @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children | b7f97abdc517 |
line wrap: on
line diff
--- a/gcc/gengtype.h Sun Feb 07 18:28:00 2010 +0900 +++ b/gcc/gengtype.h Fri Feb 12 23:39:51 2010 +0900 @@ -20,7 +20,7 @@ #ifndef GCC_GENGTYPE_H #define GCC_GENGTYPE_H -/* A file position, mostly for error messages. +/* A file position, mostly for error messages. The FILE element may be compared using pointer equality. */ struct fileloc { const char *file; @@ -38,7 +38,7 @@ extern struct fileloc lexer_line; /* Print an error message. */ -extern void error_at_line +extern void error_at_line (struct fileloc *pos, const char *msg, ...) ATTRIBUTE_PRINTF_2; /* Like asprintf, but calls fatal() on out of memory. */