aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/internal/syntax
diff options
context:
space:
mode:
authorAgniva De Sarker <agnivade@yahoo.co.in>2017-08-22 15:41:50 +0530
committerJoe Tsai <thebrokentoaster@gmail.com>2017-08-23 03:07:12 +0000
commitea5e3bd2a18fc26fa9028865c8f391b18ed24786 (patch)
tree5811c061ff099c5dae07ced0ad268747189e8698 /src/cmd/compile/internal/syntax
parentf6944c780f5104114a7a5e404115478f8deb739b (diff)
downloadgo-ea5e3bd2a18fc26fa9028865c8f391b18ed24786.tar.xz
all: fix easy-to-miss typos
Using the wonderful https://github.com/client9/misspell tool. Change-Id: Icdbc75a5559854f4a7a61b5271bcc7e3f99a1a24 Reviewed-on: https://go-review.googlesource.com/57851 Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com> Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/cmd/compile/internal/syntax')
-rw-r--r--src/cmd/compile/internal/syntax/branches.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/compile/internal/syntax/branches.go b/src/cmd/compile/internal/syntax/branches.go
index 5fecdd6551..2fd97a4a67 100644
--- a/src/cmd/compile/internal/syntax/branches.go
+++ b/src/cmd/compile/internal/syntax/branches.go
@@ -131,7 +131,7 @@ type targets struct {
// blockBranches processes a block's body starting at start and returns the
// list of unresolved (forward) gotos. parent is the immediately enclosing
// block (or nil), ctxt provides information about the enclosing statements,
-// and lstmt is the labeled statement asociated with this block, or nil.
+// and lstmt is the labeled statement associated with this block, or nil.
func (ls *labelScope) blockBranches(parent *block, ctxt targets, lstmt *LabeledStmt, start src.Pos, body []Stmt) []*BranchStmt {
b := &block{parent: parent, start: start, lstmt: lstmt}