Commit 9d7e53ca authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 37334407
...@@ -996,7 +996,7 @@ def graphviz(t, clustername=''): ...@@ -996,7 +996,7 @@ def graphviz(t, clustername=''):
for (level, nodev) in enumerate(_walkBFS(t)): for (level, nodev) in enumerate(_walkBFS(t)):
for (i, node) in enumerate(nodev): for (i, node) in enumerate(nodev):
assert isinstance(node, (Tree,Bucket)) assert isinstance(node, (Tree,Bucket))
# TODO show Bucket values # TODO show Bucket values in triangles
# register node in symtab # register node in symtab
assert id(node) not in symtab assert id(node) not in symtab
...@@ -1049,7 +1049,7 @@ def topoview(argv): ...@@ -1049,7 +1049,7 @@ def topoview(argv):
if len(argv) == 0: if len(argv) == 0:
raise RuntimeError('E: empty argument') raise RuntimeError('E: empty argument')
treev = [TopoDecode(_) for _ in argv] treev = [TopoDecode(_, vdecode=lambda v: v) for _ in argv]
outv = [] outv = []
def emit(text): def emit(text):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment