Skip to content

Commit

Permalink
hclsyntax: Clarify Body.EndRange comment
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko committed Sep 22, 2021
1 parent 2ebbb5d commit d12c8c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hclsyntax/structure.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type Body struct {
hiddenBlocks map[string]struct{}

SrcRange hcl.Range
EndRange hcl.Range // Final token of the body, for reporting missing items
EndRange hcl.Range // Final token of the body (zero-length range)
}

// Assert that *Body implements hcl.Body
Expand Down

0 comments on commit d12c8c2

Please sign in to comment.