vendor: update hil

This commit is contained in:
Mitchell Hashimoto 2016-11-14 19:51:43 -08:00
parent 7fbd880390
commit 9afce5aa6e
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
2 changed files with 14 additions and 10 deletions

View File

@ -392,7 +392,11 @@ func scanIdentifier(s string) (string, int) {
}
nextRune, size := utf8.DecodeRuneInString(s[byteLen:])
if !(nextRune == '_' || unicode.IsNumber(nextRune) || unicode.IsLetter(nextRune) || unicode.IsMark(nextRune)) {
if !(nextRune == '_' ||
nextRune == '-' ||
unicode.IsNumber(nextRune) ||
unicode.IsLetter(nextRune) ||
unicode.IsMark(nextRune)) {
break
}

18
vendor/vendor.json vendored
View File

@ -1426,26 +1426,26 @@
{
"checksumSHA1": "/TJCBetWCMVsOpehJzVk3S/xtWM=",
"path": "github.com/hashicorp/hil",
"revision": "2bf5bc8dced8810f7d012b42e278326dbce17126",
"revisionTime": "2016-11-13T18:21:31Z"
"revision": "fceef4715de114b559e042e19fd2cec06003628a",
"revisionTime": "2016-11-15T03:45:18Z"
},
{
"checksumSHA1": "YPJwewz3dAqEWOGP2qIIWeCufF0=",
"path": "github.com/hashicorp/hil/ast",
"revision": "2bf5bc8dced8810f7d012b42e278326dbce17126",
"revisionTime": "2016-11-13T18:21:31Z"
"revision": "fceef4715de114b559e042e19fd2cec06003628a",
"revisionTime": "2016-11-15T03:45:18Z"
},
{
"checksumSHA1": "BeqAygYXJlCHpU0HVWg4mxuROks=",
"path": "github.com/hashicorp/hil/parser",
"revision": "2bf5bc8dced8810f7d012b42e278326dbce17126",
"revisionTime": "2016-11-13T18:21:31Z"
"revision": "fceef4715de114b559e042e19fd2cec06003628a",
"revisionTime": "2016-11-15T03:45:18Z"
},
{
"checksumSHA1": "vdufm+iFX0toqWyXrbrn5yZnrE0=",
"checksumSHA1": "2aIAMbqPrE0qyYoJSL6qjVm+Tt0=",
"path": "github.com/hashicorp/hil/scanner",
"revision": "2bf5bc8dced8810f7d012b42e278326dbce17126",
"revisionTime": "2016-11-13T18:21:31Z"
"revision": "fceef4715de114b559e042e19fd2cec06003628a",
"revisionTime": "2016-11-15T03:45:18Z"
},
{
"path": "github.com/hashicorp/logutils",