Commit 67f1be81 authored by Sergio Costas's avatar Sergio Costas

Now shows better the function and file being processed

parent be0c8518
......@@ -1309,10 +1309,12 @@ class crust(object):
tmpvars["return_cant_null"] = parameters[0]["not_null"]
if self.verbose:
blank_spc = (last_len - len(node.name)) if (len(node.name) < last_len) else 0
print(("Processing {:s}" + " " * blank_spc + "\r").format(node.name), end = "")
msg = ("Processing {:s}" + " " * blank_spc + "\r").format(node.name)
print(msg, end = "")
last_len = len(node.name)
total_len = len(msg) - 1
self._process_block(node.name, node.child1, tmpvars)
print(" " * total_len + "\r", end = "")
def _process_block(self, function_name, tree, thread_status):
......
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