diff options
author | Wim <wim@42.be> | 2022-05-09 23:00:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-09 23:00:23 +0200 |
commit | 1e55dd47f251ae588fb418ac29cbc6a0ae741e69 (patch) | |
tree | b3b930c3f864d82ebeb079fcfbbf570b1620ca3f /vendor/modernc.org/ccgo/v3/lib/init.go | |
parent | 700b95546b4fbc4bbd094ab1804406c13634d7e2 (diff) | |
download | matterbridge-msglm-1e55dd47f251ae588fb418ac29cbc6a0ae741e69.tar.gz matterbridge-msglm-1e55dd47f251ae588fb418ac29cbc6a0ae741e69.tar.bz2 matterbridge-msglm-1e55dd47f251ae588fb418ac29cbc6a0ae741e69.zip |
Update dependencies (#1831)
Diffstat (limited to 'vendor/modernc.org/ccgo/v3/lib/init.go')
-rw-r--r-- | vendor/modernc.org/ccgo/v3/lib/init.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/modernc.org/ccgo/v3/lib/init.go b/vendor/modernc.org/ccgo/v3/lib/init.go index db3ad913..75bdc668 100644 --- a/vendor/modernc.org/ccgo/v3/lib/init.go +++ b/vendor/modernc.org/ccgo/v3/lib/init.go @@ -326,7 +326,7 @@ func (p *project) containingStructField(part *cc.Initializer, off uintptr, t cc. } } - panic(todo("%v: internal error", pos(part))) + panic(todo("%v: internal error", p.pos(part))) } func (p *project) initializerUnion(tag string, off uintptr, f *function, s []*cc.Initializer, t cc.Type, sc cc.StorageClass, tld *tld, lm, tm map[*cc.Initializer][]cc.StringID) { @@ -376,7 +376,7 @@ func (p *project) initializerUnion(tag string, off uintptr, f *function, s []*cc } continue default: - panic(todo("%v: %v <- %T", pos(part), et, x)) + panic(todo("%v: %v <- %T", p.pos(part), et, x)) } case p.isWCharType(et): panic(todo("")) |