Pass teh test

This commit is contained in:
Violet White 2023-09-14 21:31:53 -07:00
parent cde672244a
commit 7cf356971b

View File

@ -17,9 +17,10 @@ interface TokenTypeProperty {
break
}
}
if (upgraded == null) {
for(item in TokenType.AnyOf) {
if(item.anyOf != null && item.anyOf.strings.contains(token.text)) {
for (item in TokenType.AnyOf) {
if (item.anyOf != null && item.anyOf.strings.contains(token.text)) {
upgraded = Token(item, token.start, token.text)
break
}