]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/internal/src: fix typo in pos.go
authorTooru Takahashi <tooru.takahashi134@gmail.com>
Fri, 11 Jan 2019 14:08:37 +0000 (14:08 +0000)
committerBrad Fitzpatrick <bradfitz@golang.org>
Tue, 26 Feb 2019 22:53:21 +0000 (22:53 +0000)
Change-Id: I31ac8845e72c3027c9a463b1f691f4d2b7913ec0
GitHub-Last-Rev: a6b185cc41d649141e6034b77bcfe53525498ea6
GitHub-Pull-Request: golang/go#29682
Reviewed-on: https://go-review.googlesource.com/c/157518
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Daniel Martí <mvdan@mvdan.cc>

src/cmd/internal/src/pos.go

index 110a57b98def5c8c5f48997d80270b173c76caa0..5063b133f30ab2c5d8c9a6aaee146b525757f6aa 100644 (file)
@@ -343,7 +343,7 @@ const (
        // positions.
        //
        PosDefaultStmt uint = iota // Default; position is not a statement boundary, but might be if optimization removes the designated statement boundary
-       PosIsStmt                  // Position is a statement bounday; if optimization removes the corresponding instruction, it should attempt to find a new instruction to be the boundary.
+       PosIsStmt                  // Position is a statement boundary; if optimization removes the corresponding instruction, it should attempt to find a new instruction to be the boundary.
        PosNotStmt                 // Position should not be a statement boundary, but line should be preserved for profiling and low-level debugging purposes.
 )