diff options
author | rillig <rillig@pkgsrc.org> | 2016-07-10 11:37:27 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2016-07-10 11:37:27 +0000 |
commit | 89f2ff25b2529dc1bd3c72b341b0a35c38d8c28d (patch) | |
tree | 2aeac5d7ff1d014af01d39e16988a95aec4a55b2 /pkgtools/pkglint/files/mkshparser.go | |
parent | e24c752e98287b2d1f0e2e23525ef76160b3d736 (diff) | |
download | pkgsrc-89f2ff25b2529dc1bd3c72b341b0a35c38d8c28d.tar.gz |
Updated pkglint to 5.4.6.
Changes since 5.4.5:
* Fixed shell command parser to correctly parse redirections
* Added type definitions for several variables
* Allowed version numbers to be single digits
Diffstat (limited to 'pkgtools/pkglint/files/mkshparser.go')
-rw-r--r-- | pkgtools/pkglint/files/mkshparser.go | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/pkgtools/pkglint/files/mkshparser.go b/pkgtools/pkglint/files/mkshparser.go index 600e0c92de9..583bf1d22d4 100644 --- a/pkgtools/pkglint/files/mkshparser.go +++ b/pkgtools/pkglint/files/mkshparser.go @@ -190,9 +190,6 @@ func (lex *ShellLexer) Lex(lval *shyySymType) (ttype int) { } switch { - case matches(token, `^\d+$`) && len(lex.remaining) != 0 && matches(lex.remaining[0], `^[<>]`): - ttype = tkIO_NUMBER - lval.IONum, _ = strconv.Atoi(token) case lex.sinceFor == 2 && token == "in": ttype = tkIN lex.atCommandStart = false |