Fix emitting public enumerations.

Signed-off-by: Wilson Snyder <wsnyder@wsnyder.org>
This commit is contained in:
Johan Bjork 2016-05-05 22:48:53 -04:00 committed by Wilson Snyder
parent 04977ef721
commit 8d14463b18

View File

@ -120,7 +120,7 @@ public:
puts(itemp->name());
puts(" = ");
itemp->valuep()->iterateAndNext(*this);
if (nodep->nextp()) puts(",");
if (itemp->nextp()->castEnumItem()) puts(",");
puts("\n");
}
puts("};\n");