summaryrefslogtreecommitdiffstats
path: root/gcc/cp/error.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-02 01:11:21 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-02 01:11:21 +0000
commit923f7177463af8bfbfd1b6055e764d437892b25a (patch)
tree8f118ebf98483f05231b2d6e24cf927591ca4a4c /gcc/cp/error.c
parentce10b2558b19f8eefc5ea030d077d8e4d4086adc (diff)
downloadppe42-gcc-923f7177463af8bfbfd1b6055e764d437892b25a.tar.gz
ppe42-gcc-923f7177463af8bfbfd1b6055e764d437892b25a.zip
* error.c (locate_error): %P takes an `int', not a `tree'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@68809 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/error.c')
-rw-r--r--gcc/cp/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/error.c b/gcc/cp/error.c
index e26f242ed6d..d12cd6ca152 100644
--- a/gcc/cp/error.c
+++ b/gcc/cp/error.c
@@ -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);
OpenPOWER on IntegriCloud