summaryrefslogtreecommitdiffstatshomepage
path: root/patches/patches/17_quiz2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/patches/17_quiz2.patch')
-rw-r--r--patches/patches/17_quiz2.patch17
1 files changed, 16 insertions, 1 deletions
diff --git a/patches/patches/17_quiz2.patch b/patches/patches/17_quiz2.patch
index 8b13789..b46dab6 100644
--- a/patches/patches/17_quiz2.patch
+++ b/patches/patches/17_quiz2.patch
@@ -1 +1,16 @@
-
+12c12
+< const std = import standard library;
+---
+> const std = @import("std");
+14c14
+< function main() void {
+---
+> pub fn main() void {
+19c19
+< ??? (i <= stop_at) : (i += 1) {
+---
+> while (i <= stop_at) : (i += 1) {
+23c23
+< std.debug.print("{}", .{???});
+---
+> std.debug.print("{}", .{i});