diff options
Diffstat (limited to 'src/cmd/compile/internal/syntax/nodes.go')
-rw-r--r-- | src/cmd/compile/internal/syntax/nodes.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cmd/compile/internal/syntax/nodes.go b/src/cmd/compile/internal/syntax/nodes.go index f426a5ef47..de677a847a 100644 --- a/src/cmd/compile/internal/syntax/nodes.go +++ b/src/cmd/compile/internal/syntax/nodes.go @@ -317,24 +317,24 @@ type ( AssignStmt struct { Op Operator // 0 means no operation - Lhs, Rhs Expr + Lhs, Rhs Expr // Rhs == ImplicitOne means Lhs++ (Op == Add) or Lhs-- (Op == Sub) simpleStmt } BranchStmt struct { - Tok token // TODO(gri) token values are not yet exported + Tok token // Break, Continue, Fallthrough, or Goto Label *Name stmt } CallStmt struct { - Tok token // _Go, or _Defer -- TODO(gri) token values are not yet exported + Tok token // Go or Defer Call *CallExpr stmt } ReturnStmt struct { - Results Expr // nil means no (explicit) results + Results Expr // nil means no explicit return values stmt } |