From e44d83cfb01658dcc1ce869d8890cdcf148d9c10 Mon Sep 17 00:00:00 2001 From: pompolic <pompolic@special-circumstanc.es> Date: Thu, 20 Oct 2022 13:50:49 +0200 Subject: [PATCH] Remove more printing --- gdb-port/top-level-parse.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gdb-port/top-level-parse.py b/gdb-port/top-level-parse.py index 47344e7..7012a62 100644 --- a/gdb-port/top-level-parse.py +++ b/gdb-port/top-level-parse.py @@ -397,8 +397,10 @@ class TopLevelParse: self.ast_selected_stack = None # TODO: get_avg_mem_use_all_arenas, get_total_mem_use + + # TODO: remove first printing loop def print_input_chunk(self, token, rows, start, end): - print("print_input_chunk(): start: ", start, "end: ", end) + #print("print_input_chunk(): start: ", start, "end: ", end) #h = min(rows, len(token.children)) tokenmap_values = list(self.input_token_map.values()) #tokenmap_val_list = [token for token in list(self.input_token_map.values()) if (token['start'] <= start and token['start'] <= end)] @@ -406,7 +408,7 @@ class TopLevelParse: numrows = min(rows, len(tokenmap_val_list)) #row_lengths_for_columns = [len([token for token in list(tokenmap_values) if (token['start'] <= x and x >= token['end'])]) for x in range(start,end+1)] #numrows = min(rows, max(row_lengths_for_columns)) - print("numrows: ", numrows) + #print("numrows: ", numrows) h = numrows w = end-start if w == 0: -- GitLab