1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

fmt: keep char literal, ' (#11060)

This commit is contained in:
zakuro
2021-08-06 12:21:28 +09:00
committed by GitHub
parent b95224aa20
commit 490dec222f
11 changed files with 18 additions and 14 deletions

View File

@ -113,7 +113,7 @@ pub fn v_sprintf(str string, pt ...voidptr) string {
}
i++
continue
} else if ch == `\'` {
} else if ch == `'` {
i++
continue
} else if ch == `.` && fc_ch1 >= `1` && fc_ch1 <= `9` {