remove debug code

This commit is contained in:
rocky
2017-04-26 02:14:28 -04:00
parent 84fd71b73b
commit 486f313532

View File

@@ -1702,20 +1702,16 @@ class SourceWalker(GenericASTTraversal, object):
self.prec = p self.prec = p
arg += 1 arg += 1
elif typ == 'C': elif typ == 'C':
try: low, high, sep = entry[arg]
low, high, sep = entry[arg] remaining = len(node[low:high])
remaining = len(node[low:high]) for subnode in node[low:high]:
for subnode in node[low:high]: self.preorder(subnode)
self.preorder(subnode) remaining -= 1
remaining -= 1 if remaining > 0:
if remaining > 0: self.write(sep)
self.write(sep)
pass
pass pass
arg += 1
except:
from trepan.api import debug; debug()
pass pass
arg += 1
elif typ == 'D': elif typ == 'D':
low, high, sep = entry[arg] low, high, sep = entry[arg]
remaining = len(node[low:high]) remaining = len(node[low:high])