Improve code quality
This commit is contained in:
parent
5edad332cd
commit
3f260e7ffd
11 changed files with 95 additions and 45 deletions
|
|
@ -193,7 +193,7 @@ func (l *Lexer) NextToken() (Token, error) {
|
|||
|
||||
l.start = l.current
|
||||
|
||||
var c = []rune(l.src)[l.current]
|
||||
var c = l.src[l.current]
|
||||
l.advance()
|
||||
|
||||
switch c {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue