Commit 76608089 authored by ceddral's avatar ceddral
Browse files

game: rename loop variable to fit convention

tokens are t if possible, not i
parent 51d58bc4
......@@ -118,9 +118,9 @@ func (t Token) toByte() byte {
}
func toToken(b byte) Token {
for i := Token(0); i < tMax; i++ {
if i.toByte() == b {
return i
for t := Token(0); t < tMax; t++ {
if t.toByte() == b {
return t
}
}
return tNone
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment