diff options
author | Tom Tromey <tromey@cygnus.com> | 1998-12-16 15:53:13 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 1998-12-16 15:53:13 +0000 |
commit | 0252081c1ad84d0605f2c86f3f8b84d7b6e8d805 (patch) | |
tree | 6b2269f2caf74785d69c849c6e5609baf2839d1f /gcc/java/parse-scan.c | |
parent | 50714e797cc4cfea26a05bb4d740bf75fa36aab0 (diff) | |
download | gcc-0252081c1ad84d0605f2c86f3f8b84d7b6e8d805.zip gcc-0252081c1ad84d0605f2c86f3f8b84d7b6e8d805.tar.gz gcc-0252081c1ad84d0605f2c86f3f8b84d7b6e8d805.tar.bz2 |
* parse-scan.y (qualified_name): Use correct sprintf format.
From-SVN: r24345
Diffstat (limited to 'gcc/java/parse-scan.c')
-rw-r--r-- | gcc/java/parse-scan.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/java/parse-scan.c b/gcc/java/parse-scan.c index 654cc10..eff7752 100644 --- a/gcc/java/parse-scan.c +++ b/gcc/java/parse-scan.c @@ -1370,7 +1370,7 @@ static const short yycheck[] = { 3, #define YYPURE 1 /* -*-C-*- Note some compilers choke on comments on `#line' lines. */ -#line 3 "/usr/lib/bison.simple" +#line 3 "/usr/share/misc/bison.simple" /* Skeleton output parser for bison, Copyright (C) 1984, 1989, 1990 Free Software Foundation, Inc. @@ -1387,7 +1387,7 @@ static const short yycheck[] = { 3, You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ + Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ /* As a special exception, when this file is copied by Bison into a Bison output file, you may use that output file without restriction. @@ -1563,7 +1563,7 @@ __yy_memcpy (char *to, char *from, int count) #endif #endif -#line 196 "/usr/lib/bison.simple" +#line 196 "/usr/share/misc/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 *. @@ -1910,7 +1910,7 @@ case 24: #line 251 "./parse-scan.y" { char *n = xmalloc (strlen (yyvsp[-2].node)+strlen (yyvsp[0].node)+2); - sprintf (n, "%s.s", yyvsp[-2].node, yyvsp[0].node); + sprintf (n, "%s.%s", yyvsp[-2].node, yyvsp[0].node); yyval.node = n; ; break;} @@ -2117,7 +2117,7 @@ case 337: break;} } /* the action file gets copied in in place of this dollarsign */ -#line 498 "/usr/lib/bison.simple" +#line 498 "/usr/share/misc/bison.simple" yyvsp -= yylen; yyssp -= yylen; |