[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SUGGESTION] Pretty-printing custom unit types

From: apache2
Subject: [SUGGESTION] Pretty-printing custom unit types
Date: Fri, 8 Jul 2022 13:35:50 +0200
User-agent: Mutt/1.9.3 (2018-01-21)

When pretty-printing, poke doesn't use the original unit name of struct fields:

#!!# unit U32bits = 4*8;
#!!# type Foo = struct { offset< int, U32bits> how_many; };
#!!# Foo{}
Foo {
Here it prints #32 instead of #U32bits.

If how_many was an offset<int, B> it would however print how_many=0x0#B

Is this something we can fix without too much work?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]