gjavah.c, [...]: Do not use C++ style comments in C code.
authorJeffrey A Law <law@cygnus.com>
Sat, 28 Aug 1999 05:33:02 +0000 (05:33 +0000)
committerJeff Law <law@gcc.gnu.org>
Sat, 28 Aug 1999 05:33:02 +0000 (23:33 -0600)
        * gjavah.c, jcf-write.c, verify.c: Do not use C++ style
        comments in C code.

From-SVN: r28940

gcc/java/ChangeLog
gcc/java/gjavah.c
gcc/java/jcf-write.c
gcc/java/verify.c

index bfcfb1665e922c03356624962ba6c2e825b33f86..4735ac4873543d26591d27ca8424cfead1cc96c1 100644 (file)
@@ -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
index 25747541157bf2fb670327338ff47c1e3a66f1fe..0859e3d4b1e68f17cb62429d4f91ecc96c720245 100644 (file)
@@ -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
index 44b4d13954ba358f4816f1a85f32283dd72fd376..91567d04f21d0c8e71da530af1e2f4bb26aaa46a 100644 (file)
@@ -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);
 }
 
index 8b08a8aacbb2078241c1b5f00341ec30b3264d65..77d96719c4e71b0665216a2fad94760b4d4d2a06 100644 (file)
@@ -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;