Fix issue #14. The listing of unions was mislabled as 'structs'.

This commit is contained in:
Hackerpilot 2012-08-01 17:09:03 -07:00
parent 100f22e9f9
commit 9388738f99
1 changed files with 1 additions and 1 deletions

View File

@ -465,7 +465,7 @@ public:
else else
f.writeln(); f.writeln();
} }
f.writeln(" ],\n \"structs\" : ["); f.writeln(" ],\n \"unions\" : [");
foreach(i, un; unions) foreach(i, un; unions)
{ {
un.writeJSONTo(f, indent + 1); un.writeJSONTo(f, indent + 1);