mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-04 10:20:24 +00:00
Making stringf()
use the format conversion specs as-is without widening them.
And make sure our fast-path for `%d` and `%u` narrows to `int` correctly. Resolves #5260
This commit is contained in:
parent
262b00d5e5
commit
ffd52a0d8e
3 changed files with 76 additions and 32 deletions
|
@ -62,7 +62,7 @@ enum ConversionSpecifier : uint8_t
|
|||
CONVSPEC_UNSIGNED_INT,
|
||||
// Consumes a "double"
|
||||
CONVSPEC_DOUBLE,
|
||||
// Consumes a "const char*"
|
||||
// Consumes a "const char*" or other string type
|
||||
CONVSPEC_CHAR_PTR,
|
||||
// Consumes a "void*"
|
||||
CONVSPEC_VOID_PTR,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue