Tokens in "All" enum should have a name of "token" not "enum".

This commit is contained in:
Stefanos A. 2013-10-24 18:41:09 +02:00
parent 0cb722c908
commit 2378bef21e

View file

@ -52,7 +52,7 @@ namespace CHeaderToXML
var all = new XElement("enum", new XAttribute("name", "All"));
foreach (var token in input.Root.Elements("enums").Elements("enum"))
{
all.Add(token);
all.Add(new XElement("token", token.Attributes()));
}
yield return all;