Fix emitting public enumerations.
Signed-off-by: Wilson Snyder <wsnyder@wsnyder.org>
This commit is contained in:
parent
04977ef721
commit
8d14463b18
|
|
@ -120,7 +120,7 @@ public:
|
||||||
puts(itemp->name());
|
puts(itemp->name());
|
||||||
puts(" = ");
|
puts(" = ");
|
||||||
itemp->valuep()->iterateAndNext(*this);
|
itemp->valuep()->iterateAndNext(*this);
|
||||||
if (nodep->nextp()) puts(",");
|
if (itemp->nextp()->castEnumItem()) puts(",");
|
||||||
puts("\n");
|
puts("\n");
|
||||||
}
|
}
|
||||||
puts("};\n");
|
puts("};\n");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue