diff options
Diffstat (limited to 'gcc/java/parse-scan.y')
-rw-r--r-- | gcc/java/parse-scan.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/parse-scan.y b/gcc/java/parse-scan.y index 0c8795f2b1d..233a98707c4 100644 --- a/gcc/java/parse-scan.y +++ b/gcc/java/parse-scan.y @@ -58,7 +58,7 @@ static struct parser_ctxt *ctxp; elsewhere */ int java_error_count; int java_warning_count; -int lineno; +int input_line; /* Tweak default rules when necessary. */ static int absorber; @@ -1354,6 +1354,6 @@ void reset_report (void) void yyerror (const char *msg ATTRIBUTE_UNUSED) { - fprintf (stderr, "%s: %d: %s\n", input_filename, lineno, msg); + fprintf (stderr, "%s: %d: %s\n", input_filename, input_line, msg); exit (1); } |