Skip to content

Commit

Permalink
update Kind.ri
Browse files Browse the repository at this point in the history
  • Loading branch information
StunxFS authored Nov 14, 2023
1 parent 58c663f commit 9166d07
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/rivet/src/token/Kind.ri
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ static kindStrings := [
KindMap(.KwThrow, "throw"),
KindMap(.KwTrait, "trait"),
KindMap(.KwTrue, "true"),
KindMap(.KwUndefined, "undefined"),
KindMap(.KwUnsafe, "unsafe"),
KindMap(.KwWhile, "while")
];
Expand Down Expand Up @@ -200,7 +199,6 @@ public enum Kind < traits.Stringable {
KwThrow, // throw
KwTrait, // trait
KwTrue, // true
KwUndefined, // undefined
KwUnsafe, // unsafe
KwWhile, // while
// ==============================
Expand Down Expand Up @@ -295,7 +293,6 @@ public func lookup(str: string) -> Kind {
"throw" -> .KwThrow,
"trait" -> .KwTrait,
"true" -> .KwTrue,
"undefined" -> .KwUndefined,
"unsafe" -> .KwUnsafe,
"while" -> .KwWhile,
else -> .Name
Expand Down

0 comments on commit 9166d07

Please sign in to comment.