Fix Issue #21: automatic calculation of alignment padding after lists
This commit is contained in:
@@ -50,6 +50,8 @@ func (c *Context) Morph(xmlBytes []byte) {
|
||||
// Translate XML types to nice types
|
||||
c.protocol = parsedXml.Translate(nil)
|
||||
|
||||
c.protocol.AddAlignGaps()
|
||||
|
||||
// Start with Go header.
|
||||
c.Putln("// Package %s is the X client API for the %s extension.",
|
||||
c.protocol.PkgName(), c.protocol.ExtXName)
|
||||
|
||||
Reference in New Issue
Block a user