ごめん
このコミットが含まれているのは:
コミット
62a005f711
|
@ -178,8 +178,9 @@ pub fn main() !void {
|
||||||
for (fname.items, 0..) |item, i| {
|
for (fname.items, 0..) |item, i| {
|
||||||
const file = try fs.cwd().openFile(item, .{});
|
const file = try fs.cwd().openFile(item, .{});
|
||||||
defer file.close();
|
defer file.close();
|
||||||
|
const fr = file.reader();
|
||||||
|
|
||||||
const cnt = try cuntchar(stdin);
|
const cnt = try cuntchar(fr);
|
||||||
|
|
||||||
line_cuntt += cnt.line_cunt;
|
line_cuntt += cnt.line_cunt;
|
||||||
char_cuntt += cnt.char_cunt;
|
char_cuntt += cnt.char_cunt;
|
||||||
|
|
読み込み中…
新しいイシューから参照