re PR fortran/29711 ([4.2 only] error_print does not support %N$X)

2006-12-06  Tobias Burnus  <burnus@net-b.de>

       PR fortran/29711
       * error.c (error_print): Fix handling of printf-style position specifiers
         of the form "%3$d"

From-SVN: r119609
This commit is contained in:
Tobias Burnus 2006-12-07 10:15:41 +01:00 committed by Tobias Burnus
parent b68b36c4ef
commit 70e7f689c3
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2006-12-06 Tobias Burnus <burnus@net-b.de>
PR fortran/29711
* error.c (error_print): Fix handling of printf-style position specifiers
of the form "%3$d"
2006-12-05 Paul Thomas <pault@gcc.gnu.org>
PR fortran/30003

View File

@ -549,6 +549,7 @@ error_print (const char *type, const char *format0, va_list argp)
{
/* This is a position specifier. See comment above. */
while (ISDIGIT(*format))
format++;
/* Skip over the dollar sign. */
format++;