From 4ea94ca0fef7786ce21722cbb02a9cf069bdedd9 Mon Sep 17 00:00:00 2001 From: "Andrew Gallant (Ocelot)" Date: Sat, 26 May 2012 18:24:52 -0400 Subject: Bug fix in the generator that was outputting %(MISSING) crud. --- nexgb/xgbgen/go_struct.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nexgb/xgbgen') diff --git a/nexgb/xgbgen/go_struct.go b/nexgb/xgbgen/go_struct.go index a988893..cb765a0 100644 --- a/nexgb/xgbgen/go_struct.go +++ b/nexgb/xgbgen/go_struct.go @@ -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") -- cgit v1.2.3