aboutsummaryrefslogtreecommitdiff
path: root/nexgb/xgbgen/go.go
diff options
context:
space:
mode:
Diffstat (limited to 'nexgb/xgbgen/go.go')
-rw-r--r--nexgb/xgbgen/go.go6
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("")
}