Fix linting error
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Fabian Becker 2022-01-12 11:03:46 +01:00
parent 9f807afe1c
commit def39d9112

View File

@ -64,7 +64,7 @@ type Token struct {
}
func (t Token) String() string {
return fmt.Sprintf("%v", t)
return fmt.Sprintf("%s\t%s\t%s", t.tokenType, t.lexeme, t.literal)
}
func makeToken(tt TokenType, lexeme string, lit interface{}, line, column int) *Token {