diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-02-25 00:30:00 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-02-25 00:30:00 +0000 |
commit | dbcd93702964a7ed9a453702d492c2b7a4dc64f4 (patch) | |
tree | 43bbab4d60f34c8d33597e1c973e9f3d1c57dc99 /gcc/c-parse.c | |
parent | a9fa919071262bc632da16ca2174ef1a514971bf (diff) | |
download | gcc-dbcd93702964a7ed9a453702d492c2b7a4dc64f4.tar.gz |
* c-parse.y (undeclared variable error): Tweak error message
to be clearer.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18226 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-parse.c')
-rw-r--r-- | gcc/c-parse.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/c-parse.c b/gcc/c-parse.c index 8cfed9eb095..c38a7ca6033 100644 --- a/gcc/c-parse.c +++ b/gcc/c-parse.c @@ -1170,7 +1170,7 @@ static const short yycheck[] = { 40, 48, 49, 50, 51, 52 }; /* -*-C-*- Note some compilers choke on comments on `#line' lines. */ -#line 3 "/usr/cygnus/latest-940103/share/bison.simple" +#line 3 "/usr/share/bison.simple" /* Skeleton output parser for bison, Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc. @@ -1363,7 +1363,7 @@ __yy_memcpy (char *to, char *from, int count) #endif #endif -#line 196 "/usr/cygnus/latest-940103/share/bison.simple" +#line 196 "/usr/share/bison.simple" /* The user can define YYPARSE_PARAM as the name of an argument to be passed into yyparse. The argument should have type void *. @@ -2110,7 +2110,7 @@ case 86: if (IDENTIFIER_GLOBAL_VALUE (yyvsp[0].ttype) != error_mark_node || IDENTIFIER_ERROR_LOCUS (yyvsp[0].ttype) != current_function_decl) { - error ("`%s' undeclared (first use this function)", + error ("`%s' undeclared (first use in this function)", IDENTIFIER_POINTER (yyvsp[0].ttype)); if (! undeclared_variable_notice) @@ -3652,7 +3652,7 @@ case 395: break;} } /* the action file gets copied in in place of this dollarsign */ -#line 498 "/usr/cygnus/latest-940103/share/bison.simple" +#line 498 "/usr/share/bison.simple" yyvsp -= yylen; yyssp -= yylen; |