Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Commit

Permalink
Merge pull request #127 from xushiwei/q
Browse files Browse the repository at this point in the history
autoStaticName fix typo
  • Loading branch information
xushiwei committed Jul 23, 2022
2 parents 5c5850e + 7f6b799 commit 684d632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cl/multifiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func checkAnonyUnion(typ types.Type) (t *types.Named, ok bool) {
}

func (p *blockCtx) autoStaticName(name string) string {
return "_cgos_" + name + "_" + p.baseOF
return "_cgos_" + name + p.baseOF
}

func (p *blockCtx) logFile(node *ast.Node) {
Expand Down

0 comments on commit 684d632

Please sign in to comment.