diff options
Diffstat (limited to 'patches')
-rw-r--r-- | patches/patches/076_sentinels.patch | 4 | ||||
-rw-r--r-- | patches/patches/077_sentinels2.patch | 4 | ||||
-rw-r--r-- | patches/patches/078_sentinels3.patch | 4 |
3 files changed, 10 insertions, 2 deletions
diff --git a/patches/patches/076_sentinels.patch b/patches/patches/076_sentinels.patch index 52a5424..33e4483 100644 --- a/patches/patches/076_sentinels.patch +++ b/patches/patches/076_sentinels.patch @@ -1,8 +1,8 @@ -82c82 +83c83 < for (???) |s| { --- > for (my_seq) |s| { -94c94 +95c95 < while (??? != my_sentinel) { --- > while (my_seq[i] != my_sentinel) { diff --git a/patches/patches/077_sentinels2.patch b/patches/patches/077_sentinels2.patch new file mode 100644 index 0000000..4fef677 --- /dev/null +++ b/patches/patches/077_sentinels2.patch @@ -0,0 +1,4 @@ +63c63 +< const printable = ???; +--- +> const printable = foo.data[0..foo.length]; diff --git a/patches/patches/078_sentinels3.patch b/patches/patches/078_sentinels3.patch new file mode 100644 index 0000000..94257b0 --- /dev/null +++ b/patches/patches/078_sentinels3.patch @@ -0,0 +1,4 @@ +24c24 +< const printable: [*:0]const u8 = ???; +--- +> const printable: [*:0]const u8 = @ptrCast([*:0]const u8, data); |