Commit bfa1514a by Richard Kenner

(main): Move unused arg ++i out of call to printf.

From-SVN: r6557
parent 1e83f71a
/* 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};");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment