This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[patch] ia64-gen.c: Fix // comments.


Hi,

Regarding // comments, grep helped me find these.  OK to apply?

Thanks,

Kazu Hirata

===File ~/gnu/binutils/ChangeLog-c++comment=================
2000-10-04  Kazu Hirata  <kazu@hxi.com>

	* ia64-gen.c: Convert C++-style comments to C-style comments.
	* tic54x-dis.c: Likewise.

============================================================

===File ~/gnu/binutils/c++comment.patch=====================
Index: ia64-gen.c
===================================================================
RCS file: /cvs/src/src/opcodes/ia64-gen.c,v
retrieving revision 1.4
diff -u -r1.4 ia64-gen.c
--- ia64-gen.c	2000/09/22 19:43:50	1.4
+++ ia64-gen.c	2000/10/04 05:55:41
@@ -177,7 +177,7 @@
   int nchks;                   
   int total_chks;                   /* total #of terminal insns */
   int *chks;                        /* insn classes which read (RAW), write
-                                       (WAW), or write (WAR) this rsrc */ // 
+                                       (WAW), or write (WAR) this rsrc */
   int *chknotes;                    /* dependency notes for each class */
   int nregs;
   int total_regs;                   /* total #of terminal insns */
@@ -461,7 +461,7 @@
      existing class or terminal with the same name. */ 
   if ((xsect || comment || notestr) && is_class)
     {
-      // first, populate with the class we're based on
+      /* First, populate with the class we're based on.  */
       char *subname = name;
       if (xsect)
         *xsect = 0;
Index: tic54x-dis.c
===================================================================
RCS file: /cvs/src/src/opcodes/tic54x-dis.c,v
retrieving revision 1.2
diff -u -r1.2 tic54x-dis.c
--- tic54x-dis.c	2000/05/30 18:35:33	1.2
+++ tic54x-dis.c	2000/10/04 05:55:41
@@ -558,7 +558,7 @@
         }
       ++reg;
     }
-  sprintf (buf, "MMR(%d)", mmr); // FIXME -- different targets
+  sprintf (buf, "MMR(%d)", mmr); /* FIXME -- different targets.  */
   return 0;
 }
 
============================================================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]