]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
parse.y (note_possible_classname): Mark returned node with QUALIFIED_P only if the...
authorAlexandre Petit-Bianco <apbianco@cygnus.com>
Mon, 7 Jun 1999 17:08:34 +0000 (17:08 +0000)
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>
Mon, 7 Jun 1999 17:08:34 +0000 (10:08 -0700)
Mon Jun  7 16:09:51 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
* parse.y (note_possible_classname): Mark returned node with
  QUALIFIED_P only if the original class name contained a '/'.

From-SVN: r27396

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

index c396a8003ec55eef60dca1ebca537a788c34952e..de871e6061467a087842917ee042efd2d31259f5 100644 (file)
@@ -1,3 +1,8 @@
+Mon Jun  7 16:09:51 1999  Alexandre Petit-Bianco  <apbianco@cygnus.com>
+
+       * parse.y (note_possible_classname): Mark returned node with
+       QUALIFIED_P only if the original class name contained a '/'.
+
 Sat Jun  5 11:46:59 1999  Anthony Green  <green@cygnus.com>
 
        * Make-lang.in (gcjh): More parallel build fixes.
index 1606859213cc8d33a7743f245b3231938b401492..e0aa0c6cb6880e4208e2225a5b35a8eeacaafad5 100644 (file)
@@ -7621,7 +7621,7 @@ note_possible_classname (name, len)
     return 0;
   node = ident_subst (name, len, "", '/', '.', "");
   IS_A_CLASSFILE_NAME (node) = 1; /* Or soon to be */
-  QUALIFIED_P (node) = 1; /* As soon as we turn / into . */
+  QUALIFIED_P (node) = strchr (name, '/') ? 1 : 0;
   return 1;
 }
 
index 5a5c6744bd190912a08444cff48c0e3a383bf1c6..b2982b01cace2f71c3ed1cae1cc7fb10f44f9d3d 100644 (file)
@@ -5036,7 +5036,7 @@ note_possible_classname (name, len)
     return 0;
   node = ident_subst (name, len, "", '/', '.', "");
   IS_A_CLASSFILE_NAME (node) = 1; /* Or soon to be */
-  QUALIFIED_P (node) = 1; /* As soon as we turn / into . */
+  QUALIFIED_P (node) = strchr (name, '/') ? 1 : 0;
   return 1;
 }