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:
Zack Weinberg 2002-05-14 00:15:51 +00:00 committed by Zack Weinberg
parent 2f9a2cd769
commit 0b42c8f889
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -106,7 +106,8 @@ gen_attr (attr)
putchar ('_');
while (tag != p)
putchar (TOUPPER (*tag++));
fputs (", ", stdout);
if (*p == ',')
fputs (", ", stdout);
}
fputs ("};\n", stdout);