diff options
| author | Andrew Gallant (Ocelot) <[email protected]> | 2012-05-05 18:21:48 -0400 |
|---|---|---|
| committer | Andrew Gallant (Ocelot) <[email protected]> | 2012-05-05 18:21:48 -0400 |
| commit | 568f1c44fb9489a7f7762e96544f0173b23ec61b (patch) | |
| tree | f2c8fe01e7b4aeaad77bef220ed997c824f1b144 /xgbgen/translation.go | |
| parent | b8d96bcad34ec397b207dc263f61f7776396db26 (diff) | |
fixing bugs related mostly to extension handling
Diffstat (limited to 'xgbgen/translation.go')
| -rw-r--r-- | xgbgen/translation.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xgbgen/translation.go b/xgbgen/translation.go index fe5a52b..b650bc4 100644 --- a/xgbgen/translation.go +++ b/xgbgen/translation.go @@ -373,7 +373,7 @@ func (x *XMLBitcase) Translate() *Bitcase { // SrcName is used to translate any identifier into a Go name. // Mostly used for fields, but used in a couple other places too (enum items). -func SrcName(name string) string { +func SrcName(p *Protocol, name string) string { // If it's in the name map, use that translation. if newn, ok := NameMap[name]; ok { return newn |
