From 4511f209b051c231ddca42c2ff8a2698a67b47c1 Mon Sep 17 00:00:00 2001 From: Estevanbs Date: Tue, 16 Jul 2024 19:32:03 -0300 Subject: [PATCH] docs: edit LookupIdent doc --- token/token.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/token/token.go b/token/token.go index 26f6996..100a97f 100644 --- a/token/token.go +++ b/token/token.go @@ -55,7 +55,7 @@ var keywords = map[string]TokenType{ "return": RETURN, } -// LookupIdent return the identifier of a keyword +// LookupIdent return the TokenType of a string func LookupIdent(ident string) TokenType { if tok, ok := keywords[ident]; ok { return tok