1
0
forked from VimPlug/jedi

Change pr.Simple.

This commit is contained in:
Dave Halter
2014-10-08 17:02:37 +02:00
parent d9aa84f971
commit 308c971ad7
2 changed files with 13 additions and 30 deletions

View File

@@ -210,8 +210,7 @@ def convert(grammar, raw_node):
return children[0]
print(raw_node, type_repr(type))
try:
return Node(type, children)
return ast_mapping[children](children)
return ast_mapping[type](children)
except KeyError:
return Node(type, children)
else: