Skip to content

Commit

Permalink
Makes sure to generate Choice and All elements, in addition to Sequences
Browse files Browse the repository at this point in the history
  • Loading branch information
c4milo committed Aug 25, 2014
1 parent 34caa81 commit 2fd755c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions generator/types_tmpl.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ var typesTmpl = `
{{template "SimpleContent" .SimpleContent}}
{{ else }}
{{template "Elements" .Sequence.Elements}}
{{template "Elements" .Choice}}
{{template "Elements" .All}}
{{template "Attributes" .Attributes}}
{{end}}
}
Expand All @@ -55,6 +57,8 @@ var typesTmpl = `
{{template "SimpleContent" .SimpleContent}}
{{ else }}
{{template "Elements" .Sequence.Elements}}
{{template "Elements" .Choice}}
{{template "Elements" .All}}
{{template "Attributes" .Attributes}}
{{end}}
}
Expand Down

0 comments on commit 2fd755c

Please sign in to comment.