1
0
forked from VimPlug/jedi

A first array test passing.

This commit is contained in:
Dave Halter
2014-10-21 11:58:53 +02:00
parent fb2ef5a7a0
commit 8f3b7f9d44
4 changed files with 20 additions and 20 deletions

View File

@@ -98,14 +98,14 @@ def convert(grammar, raw_node):
# its logic.
if len(children) == 1 and type != python_symbols.expr_stmt:
return children[0]
print(raw_node, type_repr(type))
#print(raw_node, type_repr(type))
#import pdb; pdb.set_trace()
try:
return ast_mapping[type](children)
except KeyError:
return pr.Node(type, children)
else:
print('leaf', raw_node, type_repr(type))
#print('leaf', raw_node, type_repr(type))
prefix, start_pos = context
if type == tokenize.NAME:
if value in grammar.keywords: