aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jcf-parse.c
diff options
context:
space:
mode:
authorAlexandre Petit-Bianco <apbianco@redhat.com>2002-04-22 13:34:19 -0700
committerMark Wielaard <mark@gcc.gnu.org>2002-04-22 20:34:19 +0000
commit920f81e7b83620e009c27b8b66e38145a486039b (patch)
tree214897a1baa9ea2525d01a63641f1ffdf1010e59 /gcc/java/jcf-parse.c
parent5066927d9ebedf0098887901674e576413312848 (diff)
downloadgcc-920f81e7b83620e009c27b8b66e38145a486039b.zip
gcc-920f81e7b83620e009c27b8b66e38145a486039b.tar.gz
gcc-920f81e7b83620e009c27b8b66e38145a486039b.tar.bz2
re PR java/2791 (Bogus "class `foo' already defined ..." error from jc1)
* jcf-parse.c: (yyparse): Don't prepend "./" to relative paths. Fixes PR java/2791. From-SVN: r52636
Diffstat (limited to 'gcc/java/jcf-parse.c')
-rw-r--r--gcc/java/jcf-parse.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c
index cbf5ac9..6a93141 100644
--- a/gcc/java/jcf-parse.c
+++ b/gcc/java/jcf-parse.c
@@ -1000,9 +1000,6 @@ java_parse_file ()
int len = strlen (list);
- if (*list != '/' && filename_count > 0)
- obstack_grow (&temporary_obstack, "./", 2);
-
obstack_grow0 (&temporary_obstack, list, len);
value = obstack_finish (&temporary_obstack);