]> Cypherpunks repositories - gostls13.git/commit
go/printer: correct cindex meaning in commentInfo comments
authorMateusz Poliwczak <mpoliwczak34@gmail.com>
Tue, 30 Jul 2024 19:01:10 +0000 (19:01 +0000)
committerGopher Robot <gobot@golang.org>
Tue, 30 Jul 2024 20:12:39 +0000 (20:12 +0000)
commit96f71597056db8b90a445b03bbec229d9f5b4344
treecd91584ad51f12b592953463903552da28da50e9
parent1f72ce31f06fbb28c289f5ee7e33d6c54c6894bc
go/printer: correct cindex meaning in commentInfo comments

(*printer).nextComment increases cindex by one after each call
and it always points to the next element.

Change-Id: I65754ab6e30e10dc7473882e39737d2e0dc29070
GitHub-Last-Rev: f859283324af6ddf9fdc75ef08ee42ae26bc581b
GitHub-Pull-Request: golang/go#68032
Reviewed-on: https://go-review.googlesource.com/c/go/+/592557
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/go/printer/printer.go