OSDN Git Service

* jcf-parse.c: (yyparse): Don't prepend "./" to relative
authormark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Apr 2002 20:34:19 +0000 (20:34 +0000)
committermark <mark@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Apr 2002 20:34:19 +0000 (20:34 +0000)
paths. Fixes PR java/2791.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52636 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/java/ChangeLog
gcc/java/jcf-parse.c

index da51e18..0446a67 100644 (file)
@@ -1,3 +1,8 @@
+2002-04-22  Alexandre Petit-Bianco  <apbianco@redhat.com>
+
+       * jcf-parse.c: (yyparse): Don't prepend "./" to relative
+       paths. Fixes PR java/2791.
+
 2002-04-19  Andrew Haley  <aph@redhat.com>
 
         * jcf-write.c (push_long_const): lo, hi: New variables.
index cbf5ac9..6a93141 100644 (file)
@@ -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);