mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
cgo: do not reset tag generator between files
Clean up an error message and error exit too. Insert blank line after "DO NOT EDIT" comment to keep it from being a doc comment. Fixes #1213. Fixes #1222. R=r CC=golang-dev https://golang.org/cl/3608042
This commit is contained in:
parent
e7a0f67603
commit
9da73612ed
6 changed files with 72 additions and 8 deletions
|
|
@ -219,6 +219,9 @@ func main() {
|
|||
}
|
||||
|
||||
p.writeDefs()
|
||||
if nerrors > 0 {
|
||||
os.Exit(2)
|
||||
}
|
||||
}
|
||||
|
||||
// Record what needs to be recorded about f.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue