vendor: update HCL

This commit is contained in:
Mitchell Hashimoto 2016-11-09 14:55:45 -08:00
parent 092f7e8f76
commit 27f7e4b296
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
2 changed files with 24 additions and 24 deletions

View File

@ -288,7 +288,7 @@ func (p *printer) objectType(o *ast.ObjectType) []byte {
buf.WriteByte(newline)
}
buf.Write(p.indent([]byte(comment.Text)))
buf.Write(p.indent(p.heredocIndent([]byte(comment.Text))))
buf.WriteByte(newline)
if index != len(o.List.Items) {
buf.WriteByte(newline) // do not print on the end

46
vendor/vendor.json vendored
View File

@ -1322,68 +1322,68 @@
{
"checksumSHA1": "8OPDk+bKyRGJoKcS4QNw9F7dpE8=",
"path": "github.com/hashicorp/hcl",
"revision": "973f376f0e7cf09c96e445b44712416c0cb22ec4",
"revisionTime": "2016-11-09T00:00:27Z"
"revision": "3d702911d9708e8fea66cd77e04bd451ff25d3b1",
"revisionTime": "2016-11-09T22:51:35Z"
},
{
"checksumSHA1": "XQmjDva9JCGGkIecOgwtBEMCJhU=",
"path": "github.com/hashicorp/hcl/hcl/ast",
"revision": "973f376f0e7cf09c96e445b44712416c0cb22ec4",
"revisionTime": "2016-11-09T00:00:27Z"
"revision": "3d702911d9708e8fea66cd77e04bd451ff25d3b1",
"revisionTime": "2016-11-09T22:51:35Z"
},
{
"checksumSHA1": "5HVecyfmcTm6OTffEi6LGayQf5M=",
"path": "github.com/hashicorp/hcl/hcl/fmtcmd",
"revision": "973f376f0e7cf09c96e445b44712416c0cb22ec4",
"revisionTime": "2016-11-09T00:00:27Z"
"revision": "3d702911d9708e8fea66cd77e04bd451ff25d3b1",
"revisionTime": "2016-11-09T22:51:35Z"
},
{
"checksumSHA1": "croNloscHsjX87X+4/cKOURf1EY=",
"path": "github.com/hashicorp/hcl/hcl/parser",
"revision": "973f376f0e7cf09c96e445b44712416c0cb22ec4",
"revisionTime": "2016-11-09T00:00:27Z"
"revision": "3d702911d9708e8fea66cd77e04bd451ff25d3b1",
"revisionTime": "2016-11-09T22:51:35Z"
},
{
"checksumSHA1": "bUeqPVCXaK3aY54XhZ2D3FrsbWo=",
"checksumSHA1": "1k1PQRPdYEjeTbXsYz5ZP+Won1w=",
"path": "github.com/hashicorp/hcl/hcl/printer",
"revision": "973f376f0e7cf09c96e445b44712416c0cb22ec4",
"revisionTime": "2016-11-09T00:00:27Z"
"revision": "3d702911d9708e8fea66cd77e04bd451ff25d3b1",
"revisionTime": "2016-11-09T22:51:35Z"
},
{
"checksumSHA1": "lgR7PSAZ0RtvAc9OCtCnNsF/x8g=",
"path": "github.com/hashicorp/hcl/hcl/scanner",
"revision": "973f376f0e7cf09c96e445b44712416c0cb22ec4",
"revisionTime": "2016-11-09T00:00:27Z"
"revision": "3d702911d9708e8fea66cd77e04bd451ff25d3b1",
"revisionTime": "2016-11-09T22:51:35Z"
},
{
"checksumSHA1": "/e0ULfQnGeUKiM1+iMnQhImo62k=",
"path": "github.com/hashicorp/hcl/hcl/strconv",
"revision": "973f376f0e7cf09c96e445b44712416c0cb22ec4",
"revisionTime": "2016-11-09T00:00:27Z"
"revision": "3d702911d9708e8fea66cd77e04bd451ff25d3b1",
"revisionTime": "2016-11-09T22:51:35Z"
},
{
"checksumSHA1": "c6yprzj06ASwCo18TtbbNNBHljA=",
"path": "github.com/hashicorp/hcl/hcl/token",
"revision": "973f376f0e7cf09c96e445b44712416c0cb22ec4",
"revisionTime": "2016-11-09T00:00:27Z"
"revision": "3d702911d9708e8fea66cd77e04bd451ff25d3b1",
"revisionTime": "2016-11-09T22:51:35Z"
},
{
"checksumSHA1": "138aCV5n8n7tkGYMsMVQQnnLq+0=",
"path": "github.com/hashicorp/hcl/json/parser",
"revision": "973f376f0e7cf09c96e445b44712416c0cb22ec4",
"revisionTime": "2016-11-09T00:00:27Z"
"revision": "3d702911d9708e8fea66cd77e04bd451ff25d3b1",
"revisionTime": "2016-11-09T22:51:35Z"
},
{
"checksumSHA1": "YdvFsNOMSWMLnY6fcliWQa0O5Fw=",
"path": "github.com/hashicorp/hcl/json/scanner",
"revision": "973f376f0e7cf09c96e445b44712416c0cb22ec4",
"revisionTime": "2016-11-09T00:00:27Z"
"revision": "3d702911d9708e8fea66cd77e04bd451ff25d3b1",
"revisionTime": "2016-11-09T22:51:35Z"
},
{
"checksumSHA1": "fNlXQCQEnb+B3k5UDL/r15xtSJY=",
"path": "github.com/hashicorp/hcl/json/token",
"revision": "973f376f0e7cf09c96e445b44712416c0cb22ec4",
"revisionTime": "2016-11-09T00:00:27Z"
"revision": "3d702911d9708e8fea66cd77e04bd451ff25d3b1",
"revisionTime": "2016-11-09T22:51:35Z"
},
{
"checksumSHA1": "mZhRldYjh9MAXzdi3zihMX0A/JU=",