diff --git a/gdb-port/top-level-parse.py b/gdb-port/top-level-parse.py index 80b19d8318ce987fa63b4e969658d6c5be4a7574..44dc92d9ee21575deb62eeb86b31050f458bc7e6 100644 --- a/gdb-port/top-level-parse.py +++ b/gdb-port/top-level-parse.py @@ -404,7 +404,7 @@ class TopLevelParse: if w == 0: print("all tokens passed to display are zero-width") return - charbuf = [[' '] * w for i in range(0,h+1)] + charbuf = [[' '] * w for i in range(0,h)] print("h=len(charbuf):", len(charbuf), "w :", w) tokenmap_values_sorted = sorted(tokenmap_val_list, key=lambda token: (token['start'], token['end'])) print("len(tokenmap_values_sorted):", len(tokenmap_values_sorted), "rows:", numrows)