diff options
| author | Shulhan <m.shulhan@gmail.com> | 2020-03-26 00:16:52 +0700 |
|---|---|---|
| committer | Shulhan <m.shulhan@gmail.com> | 2020-03-26 00:16:52 +0700 |
| commit | b0fa5a477156f33559ea8598632ae26dff79345b (patch) | |
| tree | 9a7d4b69f05852af673569bc77ac736b9b0a1ff2 /lib/parser/parser.go | |
| parent | c5729b4cac0acd5448abf4e4e64d37081f7f8c87 (diff) | |
| download | pakakeh.go-b0fa5a477156f33559ea8598632ae26dff79345b.tar.xz | |
all: fix and suppress linter warnings
Diffstat (limited to 'lib/parser/parser.go')
| -rw-r--r-- | lib/parser/parser.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/parser/parser.go b/lib/parser/parser.go index a29811cf..5f30d0f3 100644 --- a/lib/parser/parser.go +++ b/lib/parser/parser.go @@ -233,7 +233,6 @@ func (p *Parser) TokenEscaped(esc rune) (string, rune) { p.d = 0 p.x = len(p.v) return string(p.token), p.d - } // @@ -261,7 +260,7 @@ func (p *Parser) ReadEnclosed(open, closed rune) (string, rune) { p.d = 0 p.x = len(p.v) - return string(p.v), 0 + return p.v, 0 } // |
