exercises/patches/patches/103_tokenization.patch
2026-02-27 19:27:04 +01:00

12 lines
361 B
Diff

--- exercises/103_tokenization.zig 2026-02-27 19:25:11
+++ answers/103_tokenization.zig 2026-02-27 19:26:04
@@ -134,7 +134,7 @@
;
// now the tokenizer, but what do we need here?
- var it = std.mem.tokenizeAny(u8, poem, ???);
+ var it = std.mem.tokenizeAny(u8, poem, " ,;!\n");
// print all words and count them
var cnt: usize = 0;