mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-27 19:24:37 +08:00
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>
|
||||
|
||||
* cfgrtl.c (purge_dead_edges): Handle abnormal call edges created
|
||||
|
@ -106,7 +106,8 @@ gen_attr (attr)
|
||||
putchar ('_');
|
||||
while (tag != p)
|
||||
putchar (TOUPPER (*tag++));
|
||||
fputs (", ", stdout);
|
||||
if (*p == ',')
|
||||
fputs (", ", stdout);
|
||||
}
|
||||
|
||||
fputs ("};\n", stdout);
|
||||
|
Loading…
Reference in New Issue
Block a user