From 0d33373609df20ff4ecd04b881f8ec3455236952 Mon Sep 17 00:00:00 2001 From: pompolic <pompolic@special-circumstanc.es> Date: Fri, 21 Oct 2022 16:14:32 +0200 Subject: [PATCH] Put message about invalid token in the right list --- gdb-port/top-level-parse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb-port/top-level-parse.py b/gdb-port/top-level-parse.py index 7db8519..bbd9a57 100644 --- a/gdb-port/top-level-parse.py +++ b/gdb-port/top-level-parse.py @@ -436,7 +436,7 @@ class TopLevelParse: hpr = HParseResult(int(hparseresult_addr, 16)) info_strings.append(" ".join([hpr.str_no_deref(), str(tokenmap_entry)])) except: - hpr_strings.append(" ".join(["invalid", str(tokenmap_entry)])) + info_strings.append(" ".join(["invalid", str(tokenmap_entry)])) info_dict = dict(enumerate(info_strings)) charbufrows_token_debug = [ "".join(row) + "\ntokeninfo: " + info_dict.get(index, "no token here") for index, row in enumerate(charbuf_dynamic)] #charbufrows = ["".join(row) for row in charbuf_dynamic] -- GitLab