(main): Move unused arg ++i out of call to printf.
authorRichard Kenner <kenner@gcc.gnu.org>
Tue, 15 Feb 1994 00:19:02 +0000 (19:19 -0500)
committerRichard Kenner <kenner@gcc.gnu.org>
Tue, 15 Feb 1994 00:19:02 +0000 (19:19 -0500)
From-SVN: r6557

gcc/bi-opcode.c

index 332084553233b1c4428197294b41d043b4549258..473517a040c87500d2cd44e9f9d32eb5795dcf00 100644 (file)
@@ -1,5 +1,5 @@
 /* Utility to generate opcode list from bytecode definition.
-   Copyright (C) 1993 Free Software Foundation, Inc.
+   Copyright (C) 1993, 1994 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -41,7 +41,10 @@ enum bytecode_opcode\n{");
   i = 0;
   for (d = defs; d; d = d->next)
     for (v = d->variations; v; v = v->next)
-      printf ("  %s%s,\n", d->basename, v->name, i++);
+      {
+       printf ("  %s%s,\n", d->basename, v->name);
+       ++i;
+      }
 
   puts ("  LAST_AND_UNUSED_OPCODE\n};");