aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/parse.c
diff options
context:
space:
mode:
authorAlexandre Petit-Bianco <apbianco@cygnus.com>1999-06-07 17:08:34 +0000
committerAlexandre Petit-Bianco <apbianco@gcc.gnu.org>1999-06-07 10:08:34 -0700
commitfe0e4d76c24b0047931a7a3503b2da7e6d3a23a6 (patch)
tree35587713c399009130e2432960d8cea2039568e3 /gcc/java/parse.c
parentbfec1a842feaaff7d4bda47e35f22de1e8c4f373 (diff)
downloadgcc-fe0e4d76c24b0047931a7a3503b2da7e6d3a23a6.zip
gcc-fe0e4d76c24b0047931a7a3503b2da7e6d3a23a6.tar.gz
gcc-fe0e4d76c24b0047931a7a3503b2da7e6d3a23a6.tar.bz2
parse.y (note_possible_classname): Mark returned node with QUALIFIED_P only if the original class name contained a '/'.
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
Diffstat (limited to 'gcc/java/parse.c')
-rw-r--r--gcc/java/parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/parse.c b/gcc/java/parse.c
index 1606859..e0aa0c6 100644
--- a/gcc/java/parse.c
+++ b/gcc/java/parse.c
@@ -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;
}