Update direct dependencies where possible
This commit is contained in:
6
vendor/github.com/hashicorp/hcl/hcl/parser/parser.go
generated
vendored
6
vendor/github.com/hashicorp/hcl/hcl/parser/parser.go
generated
vendored
@@ -205,6 +205,12 @@ func (p *Parser) objectItem() (*ast.ObjectItem, error) {
|
||||
}
|
||||
}
|
||||
|
||||
// key=#comment
|
||||
// val
|
||||
if p.lineComment != nil {
|
||||
o.LineComment, p.lineComment = p.lineComment, nil
|
||||
}
|
||||
|
||||
// do a look-ahead for line comment
|
||||
p.scan()
|
||||
if len(keys) > 0 && o.Val.Pos().Line == keys[0].Pos().Line && p.lineComment != nil {
|
||||
|
||||
Reference in New Issue
Block a user