summaryrefslogtreecommitdiff
path: root/gcc/c-errors.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-errors.c')
-rw-r--r--gcc/c-errors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/c-errors.c b/gcc/c-errors.c
index d906357a99d..3f3f69039de 100644
--- a/gcc/c-errors.c
+++ b/gcc/c-errors.c
@@ -1,5 +1,5 @@
/* Various diagnostic subroutines for the GNU C language.
- Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
Contributed by Gabriel Dos Reis <gdr@codesourcery.com>
This file is part of GCC.
@@ -38,7 +38,7 @@ pedwarn_c99 VPARAMS ((const char *msgid, ...))
VA_OPEN (ap, msgid);
VA_FIXEDARG (ap, const char *, msgid);
- diagnostic_set_info (&diagnostic, msgid, &ap, input_filename, lineno,
+ diagnostic_set_info (&diagnostic, msgid, &ap, input_filename, input_line,
flag_isoc99 ? pedantic_error_kind () : DK_WARNING);
report_diagnostic (&diagnostic);
VA_CLOSE (ap);