Tokens in "All" enum should have a name of "token" not "enum".
This commit is contained in:
parent
0cb722c908
commit
2378bef21e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue