Skip to content

Commit

Permalink
Merge pull request hashicorp#488 from hashicorp/b-fix-endrange-comment
Browse files Browse the repository at this point in the history
hclsyntax: Clarify Body.EndRange comment
  • Loading branch information
radeksimko committed Sep 22, 2021
2 parents 2ebbb5d + d12c8c2 commit c5b7229
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 c5b7229

Please sign in to comment.