From 9afce5aa6ee7101fd8b28bb422442d62e9959387 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 14 Nov 2016 19:51:43 -0800 Subject: [PATCH] vendor: update hil --- .../hashicorp/hil/scanner/scanner.go | 6 +++++- vendor/vendor.json | 18 +++++++++--------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/vendor/github.com/hashicorp/hil/scanner/scanner.go b/vendor/github.com/hashicorp/hil/scanner/scanner.go index 6821e310a..8089eaa21 100644 --- a/vendor/github.com/hashicorp/hil/scanner/scanner.go +++ b/vendor/github.com/hashicorp/hil/scanner/scanner.go @@ -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 } diff --git a/vendor/vendor.json b/vendor/vendor.json index b0e5babad..b0bb726d2 100644 --- a/vendor/vendor.json +++ b/vendor/vendor.json @@ -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",