diff options
| author | Andrew Gallant (Ocelot) <[email protected]> | 2012-05-26 18:24:52 -0400 |
|---|---|---|
| committer | Andrew Gallant (Ocelot) <[email protected]> | 2012-05-26 18:24:52 -0400 |
| commit | c21c2486a0fae62fe2c2ef082ad38776b14f4266 (patch) | |
| tree | 5e5ba8045506ddb00ed15922bbc4540bd5778380 /xgbgen/go_struct.go | |
| parent | aaead2a36f4c17e304cc6dcd3f434a88eb0291fb (diff) | |
Bug fix in the generator that was outputting %(MISSING) crud.
Diffstat (limited to 'xgbgen/go_struct.go')
| -rw-r--r-- | xgbgen/go_struct.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xgbgen/go_struct.go b/xgbgen/go_struct.go index a988893..cb765a0 100644 --- a/xgbgen/go_struct.go +++ b/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") |
