diff options
author | Alexandre Oliva <oliva@lsd.ic.unicamp.br> | 2000-05-19 00:52:10 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-05-19 00:52:10 +0000 |
commit | 062edaed2aba02add8b88f27823ed73a2dd0c2b6 (patch) | |
tree | 3b96128ffdf26ff21ff1e7362ef96f135bc368ce /gcc/java/jcf-write.c | |
parent | c1f76317e44bfa2068055ac31b1585d3386cb913 (diff) | |
download | gcc-062edaed2aba02add8b88f27823ed73a2dd0c2b6.zip gcc-062edaed2aba02add8b88f27823ed73a2dd0c2b6.tar.gz gcc-062edaed2aba02add8b88f27823ed73a2dd0c2b6.tar.bz2 |
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
Diffstat (limited to 'gcc/java/jcf-write.c')
-rw-r--r-- | gcc/java/jcf-write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/jcf-write.c b/gcc/java/jcf-write.c index 3b93e51..ac3b42e 100644 --- a/gcc/java/jcf-write.c +++ b/gcc/java/jcf-write.c @@ -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 == '\\') |