Commit 920f81e7 by Alexandre Petit-Bianco Committed by Mark Wielaard

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
parent 5066927d
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> 2002-04-19 Andrew Haley <aph@redhat.com>
* jcf-write.c (push_long_const): lo, hi: New variables. * jcf-write.c (push_long_const): lo, hi: New variables.
......
...@@ -1000,9 +1000,6 @@ java_parse_file () ...@@ -1000,9 +1000,6 @@ java_parse_file ()
int len = strlen (list); int len = strlen (list);
if (*list != '/' && filename_count > 0)
obstack_grow (&temporary_obstack, "./", 2);
obstack_grow0 (&temporary_obstack, list, len); obstack_grow0 (&temporary_obstack, list, len);
value = obstack_finish (&temporary_obstack); value = obstack_finish (&temporary_obstack);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment