mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
decompiler: Support Adw.Breakpoint syntax
Also, improve handling of translated strings.
This commit is contained in:
parent
078ce2f5b8
commit
a12ac1b976
9 changed files with 141 additions and 48 deletions
|
@ -319,7 +319,8 @@ def decompile_constant(
|
|||
else:
|
||||
ctx.print(cdata)
|
||||
else:
|
||||
ctx.print_value(cdata, ctx.type_by_cname(type))
|
||||
_, string = ctx.decompile_value(cdata, ctx.type_by_cname(type))
|
||||
ctx.print(string)
|
||||
|
||||
|
||||
@decompiler("closure", skip_children=True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue