Bug fix in the generator that was outputting %(MISSING) crud.

This commit is contained in:
Andrew Gallant (Ocelot)
2012-05-26 18:24:52 -04:00
parent 58bb2572c5
commit 4ea94ca0fe
29 changed files with 332 additions and 332 deletions

View File

@@ -85,7 +85,7 @@ func (s *Struct) Write(c *Context) {
func (s *Struct) WriteList(c *Context) {
c.Putln("// %sListBytes writes a list of %s values to a byte slice.",
s.SrcName())
s.SrcName(), s.SrcName())
c.Putln("func %sListBytes(buf []byte, list []%s) int {",
s.SrcName(), s.SrcName())
c.Putln("b := 0")