diff options
Diffstat (limited to 'clap.zig')
| -rw-r--r-- | clap.zig | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -130,8 +130,8 @@ pub fn parseParamsComptime(comptime str: []const u8) [countParams(str)]Param(Hel | |||
| 130 | } | 130 | } |
| 131 | 131 | ||
| 132 | fn countParams(str: []const u8) usize { | 132 | fn countParams(str: []const u8) usize { |
| 133 | // See parseParam for reasoning. I would like to remove it from parseParam, but people depend | 133 | // See parseParamEx for reasoning. I would like to remove it from parseParam, but people |
| 134 | // on that function to still work conveniently at comptime, so leaving it for now. | 134 | // depend on that function to still work conveniently at comptime, so leaving it for now. |
| 135 | @setEvalBranchQuota(std.math.maxInt(u32)); | 135 | @setEvalBranchQuota(std.math.maxInt(u32)); |
| 136 | 136 | ||
| 137 | var res: usize = 0; | 137 | var res: usize = 0; |