* parse-scan.y (qualified_name): Use correct sprintf format.
authorTom Tromey <tromey@cygnus.com>
Wed, 16 Dec 1998 15:53:13 +0000 (15:53 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Wed, 16 Dec 1998 15:53:13 +0000 (15:53 +0000)
From-SVN: r24345

gcc/java/ChangeLog
gcc/java/parse-scan.c
gcc/java/parse-scan.y

index a3b36c2fd09c42b55e21c2134fa54e33e32c3835..e86a2b60c082cb73593c2b26a087a0bc9b99796d 100644 (file)
@@ -1,3 +1,7 @@
+1998-12-16  Tom Tromey  <tromey@cygnus.com>
+
+       * parse-scan.y (qualified_name): Use correct sprintf format.
+
 1998-12-15  Tom Tromey  <tromey@cygnus.com>
 
        * gjavah.c (print_field_info): Changed how most negative number is
index 654cc1032548bcfb8227f60cc3e99bdf812a7dcb..eff7752296980d06fbb1037e3cfd28a924cb1ad2 100644 (file)
@@ -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
 \f
-#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"
 \f
   yyvsp -= yylen;
   yyssp -= yylen;
index 0324bb9369a1f0e64719ce8637c520b1a363dea3..a5859c454f5d1a26743500d865d399fce258c9b3 100644 (file)
@@ -250,7 +250,7 @@ qualified_name:
        name DOT_TK identifier
                { 
                  char *n = xmalloc (strlen ($1)+strlen ($3)+2);
-                 sprintf (n, "%s.s", $1, $3);
+                 sprintf (n, "%s.%s", $1, $3);
                  $$ = n;
                }
 ;