* error.c (locate_error): %P takes an int', not a tree'.

From-SVN: r68809
This commit is contained in:
Kaveh R. Ghazi 2003-07-02 01:11:21 +00:00 committed by Kaveh Ghazi
parent 4c82f12b8e
commit b01b248468
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-07-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* error.c (locate_error): %P takes an `int', not a `tree'.
Wed Jul 2 00:36:48 CEST 2003 Jan Hubicka <jh@suse.cz>
* decl2.c (defer_fn): Set DECL_DEFER_OUTPUT.

View File

@ -2551,6 +2551,7 @@ locate_error (const char *msgid, va_list ap)
{
/* Just ignore these possibilities. */
case '%': break;
case 'P':
case 'd': (void) va_arg (ap, int); break;
case 's': (void) va_arg (ap, char *); break;
case 'L': (void) va_arg (ap, enum languages); break;
@ -2564,7 +2565,6 @@ locate_error (const char *msgid, va_list ap)
case 'D':
case 'E':
case 'F':
case 'P':
case 'T':
case 'V':
t = va_arg (ap, tree);