diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-08-28 05:33:02 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-08-28 05:33:02 +0000 |
commit | 4ea56225773c429c9ff1e5eaf8bc28e5441b5c7b (patch) | |
tree | b0395b4841f76f7a3ece6a97b8331aaa0a6aaef3 | |
parent | d3c3f88dc6b706896fa5c0d4607a62ca72e491a6 (diff) | |
download | gcc-4ea56225773c429c9ff1e5eaf8bc28e5441b5c7b.tar.gz |
* gjavah.c, jcf-write.c, verify.c: Do not use C++ style
comments in C code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28940 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/java/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/java/gjavah.c | 2 | ||||
-rw-r--r-- | gcc/java/jcf-write.c | 6 | ||||
-rw-r--r-- | gcc/java/verify.c | 2 |
4 files changed, 10 insertions, 5 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog index bfcfb1665e9..4735ac48735 100644 --- a/gcc/java/ChangeLog +++ b/gcc/java/ChangeLog @@ -1,3 +1,8 @@ +Fri Aug 27 23:31:57 1999 Jeffrey A Law (law@cygnus.com) + + * gjavah.c, jcf-write.c, verify.c: Do not use C++ style + comments in C code. + 1999-08-26 Tom Tromey <tromey@cygnus.com> * gjavah.c (print_cxx_classname): Print "::" before qualified diff --git a/gcc/java/gjavah.c b/gcc/java/gjavah.c index 25747541157..0859e3d4b1e 100644 --- a/gcc/java/gjavah.c +++ b/gcc/java/gjavah.c @@ -840,7 +840,7 @@ DEFUN(print_c_decl, (stream, jcf, name_index, signature_index, is_init, } } -// Print the unqualified method name followed by the signature. +/* Print the unqualified method name followed by the signature. */ static void DEFUN(print_full_cxx_name, (stream, jcf, name_index, signature_index, is_init, name_override), FILE* stream AND JCF* jcf diff --git a/gcc/java/jcf-write.c b/gcc/java/jcf-write.c index 44b4d13954b..91567d04f21 100644 --- a/gcc/java/jcf-write.c +++ b/gcc/java/jcf-write.c @@ -1073,7 +1073,7 @@ emit_if (target, opcode, inv_opcode, state) struct jcf_partial *state; { OP1 (opcode); - // value is 1 byte from reloc back to start of instruction. + /* value is 1 byte from reloc back to start of instruction. */ emit_reloc (1, - inv_opcode, target, state); } @@ -1083,7 +1083,7 @@ emit_goto (target, state) struct jcf_partial *state; { OP1 (OPCODE_goto); - // Value is 1 byte from reloc back to start of instruction. + /* Value is 1 byte from reloc back to start of instruction. */ emit_reloc (1, OPCODE_goto_w, target, state); } @@ -1093,7 +1093,7 @@ emit_jsr (target, state) struct jcf_partial *state; { OP1 (OPCODE_jsr); - // Value is 1 byte from reloc back to start of instruction. + /* Value is 1 byte from reloc back to start of instruction. */ emit_reloc (1, OPCODE_jsr_w, target, state); } diff --git a/gcc/java/verify.c b/gcc/java/verify.c index 8b08a8aacbb..77d96719c4e 100644 --- a/gcc/java/verify.c +++ b/gcc/java/verify.c @@ -1066,7 +1066,7 @@ verify_jvm_instructions (jcf, byte_ops, length) break; case OPCODE_athrow: - // FIXME: athrow also empties the stack. + /* FIXME: athrow also empties the stack. */ pop_type (throwable_type_node); INVALIDATE_PC; break; |