summaryrefslogtreecommitdiff
path: root/xgbgen/translation.go
diff options
context:
space:
mode:
authorAndrew Gallant (Ocelot) <[email protected]>2012-05-10 12:47:19 -0400
committerAndrew Gallant (Ocelot) <[email protected]>2012-05-10 12:47:19 -0400
commitb10760ea62c5c071496a71d1d9ab6752989a309f (patch)
tree5988ea2cfd75375e0b7b8395b4f67b7fbf25c86a /xgbgen/translation.go
parente73b778be590baf0a3944e1e4c95f10eaedf275d (diff)
make resource ids their own individual types. last commit before overhaul to sub-packages
Diffstat (limited to 'xgbgen/translation.go')
-rw-r--r--xgbgen/translation.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/xgbgen/translation.go b/xgbgen/translation.go
index e4d81bc..44d615d 100644
--- a/xgbgen/translation.go
+++ b/xgbgen/translation.go
@@ -395,11 +395,6 @@ func TypeSrcName(p *Protocol, typ Type) string {
return newt
}
- // If it's a resource type, just use 'Id'.
- if _, ok := typ.(*Resource); ok {
- return xgbGenResourceIdName
- }
-
// If there's a namespace to this type, just use it and be done.
if colon := strings.Index(t, ":"); colon > -1 {
namespace := t[:colon]