anon 9 mesi fa
parent
commit
593ba59cc4
2 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. +3
    -0
      debug/examine_regex.gdb
  2. +1
    -1
      debug/regex.pretty_print.py

+ 3
- 0
debug/examine_regex.gdb Vedi File

@@ -0,0 +1,3 @@
break regex_assert
run < tests/comment.input
print * regex

+ 1
- 1
debug/regex.pretty_print.py Vedi File

@@ -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 += (


Loading…
Annulla
Salva