diff options
Diffstat (limited to 'pkg/dockerscript/scanner/extra.go')
-rw-r--r-- | pkg/dockerscript/scanner/extra.go | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/pkg/dockerscript/scanner/extra.go b/pkg/dockerscript/scanner/extra.go deleted file mode 100644 index 05c17e247e..0000000000 --- a/pkg/dockerscript/scanner/extra.go +++ /dev/null @@ -1,21 +0,0 @@ -package scanner - -import ( - "strings" - "unicode" -) - -// extra functions used to hijack the upstream text/scanner - -func detectIdent(ch rune) bool { - if unicode.IsLetter(ch) { - return true - } - if unicode.IsDigit(ch) { - return true - } - if strings.ContainsRune("_:/+-@%^.!=", ch) { - return true - } - return false -} |