fix(lean-gdb): do not print the u in u"limb" in python 2
This commit is contained in:
parent
7da0acc3fd
commit
d4fdea6751
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ class LeanNamePrinter:
|
|||
|
||||
def to_string(self):
|
||||
def rec(imp):
|
||||
s = repr(imp['m_str'].string()) if imp['m_is_string'] else str(imp['m_k'])
|
||||
s = ("'%s'" % imp['m_str'].string()) if imp['m_is_string'] else str(imp['m_k'])
|
||||
if imp['m_prefix']:
|
||||
return "%s.%s" % (rec(imp['m_prefix'].dereference()), s)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue