From d12c8c279cb82e2a9bfb2ec4d7d69a15b6a44505 Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Wed, 22 Sep 2021 08:33:51 +0100 Subject: [PATCH] hclsyntax: Clarify Body.EndRange comment --- hclsyntax/structure.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hclsyntax/structure.go b/hclsyntax/structure.go index 2f7470c7..4526907b 100644 --- a/hclsyntax/structure.go +++ b/hclsyntax/structure.go @@ -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