Skip to content

Commit b3e2da6

Browse files
committed
cmd/internal/src: fix a few typos in documentation
Noticed while reading recent commits. Change-Id: Ibcd500b0ea5732364124572a17b374402d715090 Reviewed-on: https://go-review.googlesource.com/c/go/+/170059 Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
1 parent f07a99e commit b3e2da6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cmd/internal/src/pos.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,11 +301,11 @@ type lico uint32
301301
// The bitfield order is chosen to make IsStmt be the least significant
302302
// part of a position; its use is to communicate statement edges through
303303
// instruction scrambling in code generation, not to impose an order.
304-
// TODO: Prologue and epilogue are perhaps better handled as psuedoops for the assembler,
304+
// TODO: Prologue and epilogue are perhaps better handled as pseudo-ops for the assembler,
305305
// because they have almost no interaction with other uses of the position.
306306
const (
307307
lineBits, lineMax = 20, 1<<lineBits - 2
308-
bogusLine = 1<<lineBits - 1 // Not a line number; used to disruopt infinite loops
308+
bogusLine = 1<<lineBits - 1 // Not a line number; used to disrupt infinite loops
309309
isStmtBits, isStmtMax = 2, 1<<isStmtBits - 1
310310
xlogueBits, xlogueMax = 2, 1<<xlogueBits - 1
311311
colBits, colMax = 32 - lineBits - xlogueBits - isStmtBits, 1<<colBits - 1

0 commit comments

Comments
 (0)