Fix %0 format on $value$plusargs.

This commit is contained in:
Wilson Snyder
2021-11-17 17:54:07 -05:00
parent d2a8fa7440
commit 0abc856be9
3 changed files with 9 additions and 2 deletions
+1
View File
@@ -1600,6 +1600,7 @@ IData VL_VALUEPLUSARGS_INW(int rbits, const std::string& ld, WDataOutP rwp) VL_M
inPct = true;
} else if (!inPct) { // Normal text
prefix += *posp;
} else if (inPct && posp[0] == '0') { // %0
} else { // Format character
switch (std::tolower(*posp)) {
case '%':