diff options
author | Andrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu> | 2012-05-05 18:21:48 -0400 |
---|---|---|
committer | Andrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu> | 2012-05-05 18:21:48 -0400 |
commit | b6715f376f5ea3efb58146c58924dcc7b1536181 (patch) | |
tree | e1213eb0678619a74b1ba57153827d58b645c48a /nexgb/xgbgen/go.go | |
parent | 4a7b05be36b96134b4dae3ca385e9bfbb797d531 (diff) | |
download | haven-b6715f376f5ea3efb58146c58924dcc7b1536181.tar.gz haven-b6715f376f5ea3efb58146c58924dcc7b1536181.tar.xz haven-b6715f376f5ea3efb58146c58924dcc7b1536181.zip |
fixing bugs related mostly to extension handling
Diffstat (limited to 'nexgb/xgbgen/go.go')
-rw-r--r-- | nexgb/xgbgen/go.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/nexgb/xgbgen/go.go b/nexgb/xgbgen/go.go index 771cfcf..df12e69 100644 --- a/nexgb/xgbgen/go.go +++ b/nexgb/xgbgen/go.go @@ -65,7 +65,8 @@ var NameMap = map[string]string{} // Base types func (b *Base) Define(c *Context) { - c.Putln("// Skipping definition for base type '%s'", SrcName(b.XmlName())) + c.Putln("// Skipping definition for base type '%s'", + SrcName(c.protocol, b.XmlName())) c.Putln("") } @@ -81,7 +82,8 @@ func (enum *Enum) Define(c *Context) { // Resource types func (res *Resource) Define(c *Context) { - c.Putln("// Skipping resource definition of '%s'", SrcName(res.XmlName())) + c.Putln("// Skipping resource definition of '%s'", + SrcName(c.protocol, res.XmlName())) c.Putln("") } |