mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 14:17:27 +02:00
Merge pull request #2339 from zachjs/display-format-0s
Allow %0s $display format specifier
This commit is contained in:
@@ -89,7 +89,7 @@ std::string AstNode::process_format_str(const std::string &sformat, int next_arg
|
||||
case 'S':
|
||||
case 'd':
|
||||
case 'D':
|
||||
if (got_len)
|
||||
if (got_len && len_value != 0)
|
||||
goto unsupported_format;
|
||||
YS_FALLTHROUGH
|
||||
case 'x':
|
||||
|
||||
Reference in New Issue
Block a user