Add some first f-string issues.

This commit is contained in:
Dave Halter
2017-08-25 22:09:58 +02:00
parent 609ab1ffa9
commit ede8a2139f
6 changed files with 62 additions and 5 deletions

View File

@@ -186,5 +186,5 @@ class Parser(parser.BaseParser):
def convert_leaf(self, pgen_grammar, type, value, prefix, start_pos):
# TODO this is so ugly.
leaf_type = TokenNamespace.token_map[type]
leaf_type = TokenNamespace.token_map[type].lower()
return TypedLeaf(leaf_type, value, start_pos, prefix)