diff --git a/debug/examine_regex.gdb b/debug/examine_regex.gdb new file mode 100644 index 0000000..be75fa3 --- /dev/null +++ b/debug/examine_regex.gdb @@ -0,0 +1,3 @@ +break regex_assert +run < tests/comment.input +print * regex diff --git a/debug/regex.pretty_print.py b/debug/regex.pretty_print.py index d18ca89..43f3646 100644 --- a/debug/regex.pretty_print.py +++ b/debug/regex.pretty_print.py @@ -27,7 +27,7 @@ class RegexPrinter: # Offshoot offshoot_t_ptr_ptr = gdb.lookup_type("offshoot_t").pointer().pointer() dt = self.val['catch_table'] - s += "offshoot_table = {\n" + s += "offshoot_table = { \n" for i in range(0, dt['element_count']): s += "\t" s += (