summaryrefslogtreecommitdiff
path: root/xgbgen/context.go
diff options
context:
space:
mode:
authorAndrew Gallant (Ocelot) <[email protected]>2012-05-02 01:46:30 -0400
committerAndrew Gallant (Ocelot) <[email protected]>2012-05-02 01:46:30 -0400
commit552804d994db62e1002f13a8cfbbbc2359d99eef (patch)
tree1b88b3177a8a12a1e7da3b12f348dba27ee8a581 /xgbgen/context.go
parent590f8a3cd197f6fc344cd59fa19b2f2696baac43 (diff)
finally starting on the crescendo: requests and replies.
Diffstat (limited to 'xgbgen/context.go')
-rw-r--r--xgbgen/context.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/xgbgen/context.go b/xgbgen/context.go
index 67801c7..33641b3 100644
--- a/xgbgen/context.go
+++ b/xgbgen/context.go
@@ -51,4 +51,7 @@ func (c *Context) Morph(xmlBytes []byte) {
for _, typ := range c.protocol.Types {
typ.Define(c)
}
+ for _, req := range c.protocol.Requests {
+ req.Define(c)
+ }
}