Commit 062edaed by Alexandre Oliva Committed by Tom Tromey

jcf-write.c (generate_classfile): Scan the source_file for slashes with the right pointer variable.

2000-05-18  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>

	* jcf-write.c (generate_classfile): Scan the source_file for
	slashes with the right pointer variable.

From-SVN: r34006
parent c1f76317
2000-05-18 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* jcf-write.c (generate_classfile): Scan the source_file for
slashes with the right pointer variable.
Wed May 17 17:27:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
* lang.c (lang_decode_option): Update -Wunused flags by calling
......
......@@ -3066,7 +3066,7 @@ generate_classfile (clas, state)
source_file = DECL_SOURCE_FILE (TYPE_NAME (clas));
for (s = source_file; ; s++)
{
char ch = *ptr;
char ch = *s;
if (ch == '\0')
break;
if (ch == '/' || ch == '\\')
......
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