Skip to content

Commit

Permalink
std.fmt.parseIntSizeSuffix: add R and Q
Browse files Browse the repository at this point in the history
  • Loading branch information
nektro authored and Vexu committed May 10, 2023
1 parent cd7e2bf commit ac385bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/std/fmt.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1925,6 +1925,8 @@ pub fn parseIntSizeSuffix(buf: []const u8, radix: u8) ParseIntError!usize {
'E' => 6,
'Z' => 7,
'Y' => 8,
'R' => 9,
'Q' => 10,
else => 0,
};
var without_suffix = without_i;
Expand Down

0 comments on commit ac385bd

Please sign in to comment.