genattr.c (gen_attr): Don't emit a comma after the last enumerator.
* genattr.c (gen_attr): Don't emit a comma after the last enumerator. From-SVN: r53440
This commit is contained in:
parent
2f9a2cd769
commit
0b42c8f889
|
@ -1,3 +1,8 @@
|
||||||
|
2002-05-13 Zack Weinberg <zack@codesourcery.com>
|
||||||
|
|
||||||
|
* genattr.c (gen_attr): Don't emit a comma after the last
|
||||||
|
enumerator.
|
||||||
|
|
||||||
2002-05-13 Richard Henderson <rth@redhat.com>
|
2002-05-13 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
* cfgrtl.c (purge_dead_edges): Handle abnormal call edges created
|
* cfgrtl.c (purge_dead_edges): Handle abnormal call edges created
|
||||||
|
|
|
@ -106,7 +106,8 @@ gen_attr (attr)
|
||||||
putchar ('_');
|
putchar ('_');
|
||||||
while (tag != p)
|
while (tag != p)
|
||||||
putchar (TOUPPER (*tag++));
|
putchar (TOUPPER (*tag++));
|
||||||
fputs (", ", stdout);
|
if (*p == ',')
|
||||||
|
fputs (", ", stdout);
|
||||||
}
|
}
|
||||||
|
|
||||||
fputs ("};\n", stdout);
|
fputs ("};\n", stdout);
|
||||||
|
|
Loading…
Reference in New Issue