diff options
| author | Andrew Gallant (Ocelot) <[email protected]> | 2012-05-06 03:06:02 -0400 |
|---|---|---|
| committer | Andrew Gallant (Ocelot) <[email protected]> | 2012-05-06 03:06:02 -0400 |
| commit | b081fc803a2b33daa0a9f5281c7a84e70df95068 (patch) | |
| tree | ae80dd2f6bbd6a57074baa0929334b3b15f0acb4 /xgbgen/field.go | |
| parent | 864eb4f165c20b07fd6ef2a2993aaa39a9714a1a (diff) | |
more bug fixes for the rest of the extensions
Diffstat (limited to 'xgbgen/field.go')
| -rw-r--r-- | xgbgen/field.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xgbgen/field.go b/xgbgen/field.go index 725f3de..4452408 100644 --- a/xgbgen/field.go +++ b/xgbgen/field.go @@ -142,8 +142,7 @@ func (f *ListField) Length() Size { // special function written in go_struct.go to compute the size (since the // size in this case can only be computed recursively). func (f *ListField) Size() Size { - simpleLen := &Function{ - Name: "pad", + simpleLen := &Padding{ Expr: newBinaryOp("*", f.Length().Expression, f.Type.Size().Expression), } |
