diff options
Diffstat (limited to 'src/pkg/ebnf/ebnf.go')
| -rw-r--r-- | src/pkg/ebnf/ebnf.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/ebnf/ebnf.go b/src/pkg/ebnf/ebnf.go index 368a3c812..f71ccc72b 100644 --- a/src/pkg/ebnf/ebnf.go +++ b/src/pkg/ebnf/ebnf.go @@ -123,7 +123,7 @@ func (p *Production) Pos() token.Position { // Grammar verification func isLexical(name string) bool { - ch, len := utf8.DecodeRuneInString(name); + ch, _ := utf8.DecodeRuneInString(name); return !unicode.IsUpper(ch); } |
