Remove trailing { Bad_Opcode }.
[binutils-gdb.git] / opcodes / fr30-dis.c
index 6f82bd73379f41f99ea72306c179f0f108b8105d..d10f58c6c15bea9fb679d183a9693ae4e302b9d7 100644 (file)
@@ -5,7 +5,7 @@
    - the resultant file is machine generated, cgen-dis.in isn't
 
    Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005, 2007,
-   2008  Free Software Foundation, Inc.
+   2008, 2010  Free Software Foundation, Inc.
 
    This file is part of libopcodes.
 
@@ -67,7 +67,7 @@ print_register_list (void * dis_info,
 {
   disassemble_info *info = dis_info;
   int mask;
-  int index = 0;
+  int reg_index = 0;
   char * comma = "";
 
   if (load_store)
@@ -77,11 +77,11 @@ print_register_list (void * dis_info,
 
   if (value & mask)
     {
-      (*info->fprintf_func) (info->stream, "r%li", index + offset);
+      (*info->fprintf_func) (info->stream, "r%li", reg_index + offset);
       comma = ",";
     }
     
-  for (index = 1; index <= 7; ++index)
+  for (reg_index = 1; reg_index <= 7; ++reg_index)
     {
       if (load_store)
        mask >>= 1;
@@ -90,7 +90,7 @@ print_register_list (void * dis_info,
 
       if (value & mask)
        {
-         (*info->fprintf_func) (info->stream, "%sr%li", comma, index + offset);
+         (*info->fprintf_func) (info->stream, "%sr%li", comma, reg_index + offset);
          comma = ",";
        }
     }