From ed3c3a1aa02c03c7a88efcde9e9494ae6784a7d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=99=BD=E4=BA=91?= <71159641+littlewhitecloud@users.noreply.github.com> Date: Sun, 10 Dec 2023 15:45:41 +0800 Subject: [PATCH 01/23] tests --- tests/syntax_error/missing_end_quote_in_byte.jou | 6 ++++++ tests/syntax_error/missing_end_quote_in_string.jou | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 tests/syntax_error/missing_end_quote_in_byte.jou create mode 100644 tests/syntax_error/missing_end_quote_in_string.jou diff --git a/tests/syntax_error/missing_end_quote_in_byte.jou b/tests/syntax_error/missing_end_quote_in_byte.jou new file mode 100644 index 00000000..f3c11923 --- /dev/null +++ b/tests/syntax_error/missing_end_quote_in_byte.jou @@ -0,0 +1,6 @@ +import "stdlib/io.jou" + +def main() -> int: + printf('?) + # Error: missing ' to end the byte literal + return 0 \ No newline at end of file diff --git a/tests/syntax_error/missing_end_quote_in_string.jou b/tests/syntax_error/missing_end_quote_in_string.jou new file mode 100644 index 00000000..f8271e53 --- /dev/null +++ b/tests/syntax_error/missing_end_quote_in_string.jou @@ -0,0 +1,6 @@ +import "stdlib/io.jou" + +def main() -> int: + printf("Hello) + # Error: missing " to end the string + return 0 \ No newline at end of file From bb2430598456bfe2434123dfcbd4b4e2a8334514 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=99=BD=E4=BA=91?= <71159641+littlewhitecloud@users.noreply.github.com> Date: Sun, 10 Dec 2023 15:48:20 +0800 Subject: [PATCH 02/23] test --- tests/syntax_error/string_continue_on_next_line.jou | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/syntax_error/string_continue_on_next_line.jou diff --git a/tests/syntax_error/string_continue_on_next_line.jou b/tests/syntax_error/string_continue_on_next_line.jou new file mode 100644 index 00000000..1b3e9bff --- /dev/null +++ b/tests/syntax_error/string_continue_on_next_line.jou @@ -0,0 +1,7 @@ +import "stdlib/io.jou" + +def main() -> int: + a = '\ + 't\'' + printf(a) + return 0 From 2cf5a7401edc016b46ae2f02bb90dfae8c9de8d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=99=BD=E4=BA=91?= <71159641+littlewhitecloud@users.noreply.github.com> Date: Sun, 10 Dec 2023 15:48:49 +0800 Subject: [PATCH 03/23] del todos --- src/tokenize.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/tokenize.c b/src/tokenize.c index 3e6b53f1..fe0fd83f 100644 --- a/src/tokenize.c +++ b/src/tokenize.c @@ -220,9 +220,10 @@ static bool is_keyword(const char *s) // - self-hosted compiler // - syntax documentation "import", "def", "declare", "class", "union", "enum", "global", - "return", "if", "elif", "else", "while", "for", "pass", "break", "continue", - "True", "False", "None", "NULL", "void", "noreturn", - "and", "or", "not", "self", "as", "sizeof", "assert", + "return", "if", "elif", "else", "while", "for", "break", "continue", + "True", "False", "NULL", "self", + "and", "or", "not", "as", "sizeof", "assert", "pass", + "void", "noreturn", "bool", "byte", "short", "int", "long", "float", "double", }; for (const char **kw = &keywords[0]; kw < &keywords[sizeof(keywords)/sizeof(keywords[0])]; kw++) @@ -295,7 +296,6 @@ static char *read_string(struct State *st, char quote, int *len) case '\n': // \ at end of line, string continues on next line if (quote == '\'') { - // TODO: tests st->location.lineno--; // to get error at the correct line number goto missing_end_quote; } @@ -321,7 +321,6 @@ static char *read_string(struct State *st, char quote, int *len) return result.ptr; missing_end_quote: - // TODO: tests if (quote == '"') fail_with_error(st->location, "missing \" to end the string"); else From 829d9d3eb5bf2676ac39d849d4ebde662951f12f Mon Sep 17 00:00:00 2001 From: littlewhitecloud Date: Sun, 10 Dec 2023 07:49:56 +0000 Subject: [PATCH 04/23] Change files to use LF line endings --- tests/syntax_error/missing_end_quote_in_byte.jou | 10 +++++----- tests/syntax_error/missing_end_quote_in_string.jou | 10 +++++----- .../syntax_error/string_continue_on_next_line.jou | 14 +++++++------- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/tests/syntax_error/missing_end_quote_in_byte.jou b/tests/syntax_error/missing_end_quote_in_byte.jou index f3c11923..1404fe48 100644 --- a/tests/syntax_error/missing_end_quote_in_byte.jou +++ b/tests/syntax_error/missing_end_quote_in_byte.jou @@ -1,6 +1,6 @@ -import "stdlib/io.jou" - -def main() -> int: - printf('?) - # Error: missing ' to end the byte literal +import "stdlib/io.jou" + +def main() -> int: + printf('?) + # Error: missing ' to end the byte literal return 0 \ No newline at end of file diff --git a/tests/syntax_error/missing_end_quote_in_string.jou b/tests/syntax_error/missing_end_quote_in_string.jou index f8271e53..34bcc519 100644 --- a/tests/syntax_error/missing_end_quote_in_string.jou +++ b/tests/syntax_error/missing_end_quote_in_string.jou @@ -1,6 +1,6 @@ -import "stdlib/io.jou" - -def main() -> int: - printf("Hello) - # Error: missing " to end the string +import "stdlib/io.jou" + +def main() -> int: + printf("Hello) + # Error: missing " to end the string return 0 \ No newline at end of file diff --git a/tests/syntax_error/string_continue_on_next_line.jou b/tests/syntax_error/string_continue_on_next_line.jou index 1b3e9bff..4269d6f1 100644 --- a/tests/syntax_error/string_continue_on_next_line.jou +++ b/tests/syntax_error/string_continue_on_next_line.jou @@ -1,7 +1,7 @@ -import "stdlib/io.jou" - -def main() -> int: - a = '\ - 't\'' - printf(a) - return 0 +import "stdlib/io.jou" + +def main() -> int: + a = '\ + 't\'' + printf(a) + return 0 From 4a411ff18309a6e23d29873ef995f6baa2201205 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=99=BD=E4=BA=91?= <71159641+littlewhitecloud@users.noreply.github.com> Date: Sun, 10 Dec 2023 16:04:43 +0800 Subject: [PATCH 05/23] test --- .../other_errors/source_file_contain_zero_byte.jou | Bin 0 -> 35 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/other_errors/source_file_contain_zero_byte.jou diff --git a/tests/other_errors/source_file_contain_zero_byte.jou b/tests/other_errors/source_file_contain_zero_byte.jou new file mode 100644 index 0000000000000000000000000000000000000000..05513f52145fb61511b5052eb9bbbb54a8269796 GIT binary patch literal 35 ocmYdEO;gBC%*@l!RM53k$jmFT;^k5Rf}+%t(xN;C170o$0J7`}6aWAK literal 0 HcmV?d00001 From 320bc7de2477c71112dd5a9df4a7488f277c3f08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=99=BD=E4=BA=91?= <71159641+littlewhitecloud@users.noreply.github.com> Date: Sun, 10 Dec 2023 16:06:02 +0800 Subject: [PATCH 06/23] emm? --- src/tokenize.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tokenize.c b/src/tokenize.c index fe0fd83f..323e9dc3 100644 --- a/src/tokenize.c +++ b/src/tokenize.c @@ -45,7 +45,7 @@ static char read_byte(struct State *st) { // Use the zero byte to represent end of file. if (c == '\0') - fail_with_error(st->location, "source file contains a zero byte"); // TODO: test this + fail_with_error(st->location, "source file contains a zero byte"); if (c == EOF) { assert(!ferror(st->f)); return '\0'; @@ -95,7 +95,7 @@ static void read_identifier_or_number(struct State *st, char firstbyte, char (*d return; } } -} +} static void consume_rest_of_line(struct State *st) { From 6cba36dfecd42bf245fcb4a1629f2e898151cc72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=99=BD=E4=BA=91?= <71159641+littlewhitecloud@users.noreply.github.com> Date: Sun, 10 Dec 2023 16:06:34 +0800 Subject: [PATCH 07/23] wat --- src/tokenize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tokenize.c b/src/tokenize.c index 323e9dc3..47411b23 100644 --- a/src/tokenize.c +++ b/src/tokenize.c @@ -95,7 +95,7 @@ static void read_identifier_or_number(struct State *st, char firstbyte, char (*d return; } } -} +} static void consume_rest_of_line(struct State *st) { From 047ac2893559017eeacaccf9dd9a737f0e9d1ee7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=99=BD=E4=BA=91?= <71159641+littlewhitecloud@users.noreply.github.com> Date: Sun, 10 Dec 2023 17:24:29 +0800 Subject: [PATCH 08/23] emm? --- tests/syntax_error/missing_end_quote_in_byte.jou | 10 +++++----- tests/syntax_error/missing_end_quote_in_string.jou | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/syntax_error/missing_end_quote_in_byte.jou b/tests/syntax_error/missing_end_quote_in_byte.jou index 1404fe48..671c34a1 100644 --- a/tests/syntax_error/missing_end_quote_in_byte.jou +++ b/tests/syntax_error/missing_end_quote_in_byte.jou @@ -1,6 +1,6 @@ -import "stdlib/io.jou" - -def main() -> int: - printf('?) - # Error: missing ' to end the byte literal +import "stdlib/io.jou" + +def main() -> int: + printf('?) + # Error: line 4: missing ' to end the byte literal return 0 \ No newline at end of file diff --git a/tests/syntax_error/missing_end_quote_in_string.jou b/tests/syntax_error/missing_end_quote_in_string.jou index 34bcc519..9d9cd4ab 100644 --- a/tests/syntax_error/missing_end_quote_in_string.jou +++ b/tests/syntax_error/missing_end_quote_in_string.jou @@ -1,6 +1,6 @@ -import "stdlib/io.jou" - -def main() -> int: - printf("Hello) - # Error: missing " to end the string +import "stdlib/io.jou" + +def main() -> int: + printf("Hello) + # Error: line 4: missing " to end the string return 0 \ No newline at end of file From 6669e4d3b89f4fb7cf3753632a1d4a87810bceef Mon Sep 17 00:00:00 2001 From: littlewhitecloud Date: Sun, 10 Dec 2023 09:24:50 +0000 Subject: [PATCH 09/23] Change files to use LF line endings --- tests/syntax_error/missing_end_quote_in_byte.jou | 10 +++++----- tests/syntax_error/missing_end_quote_in_string.jou | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/tests/syntax_error/missing_end_quote_in_byte.jou b/tests/syntax_error/missing_end_quote_in_byte.jou index 671c34a1..8f6faac1 100644 --- a/tests/syntax_error/missing_end_quote_in_byte.jou +++ b/tests/syntax_error/missing_end_quote_in_byte.jou @@ -1,6 +1,6 @@ -import "stdlib/io.jou" - -def main() -> int: - printf('?) - # Error: line 4: missing ' to end the byte literal +import "stdlib/io.jou" + +def main() -> int: + printf('?) + # Error: line 4: missing ' to end the byte literal return 0 \ No newline at end of file diff --git a/tests/syntax_error/missing_end_quote_in_string.jou b/tests/syntax_error/missing_end_quote_in_string.jou index 9d9cd4ab..a5608990 100644 --- a/tests/syntax_error/missing_end_quote_in_string.jou +++ b/tests/syntax_error/missing_end_quote_in_string.jou @@ -1,6 +1,6 @@ -import "stdlib/io.jou" - -def main() -> int: - printf("Hello) - # Error: line 4: missing " to end the string +import "stdlib/io.jou" + +def main() -> int: + printf("Hello) + # Error: line 4: missing " to end the string return 0 \ No newline at end of file From eb601481de6ded2d15f327879a7cd91845295fa2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=99=BD=E4=BA=91?= <71159641+littlewhitecloud@users.noreply.github.com> Date: Sat, 16 Dec 2023 10:38:28 +0800 Subject: [PATCH 10/23] emm --- tests/syntax_error/missing_end_quote_in_byte.jou | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/syntax_error/missing_end_quote_in_byte.jou b/tests/syntax_error/missing_end_quote_in_byte.jou index 8f6faac1..52fe3caf 100644 --- a/tests/syntax_error/missing_end_quote_in_byte.jou +++ b/tests/syntax_error/missing_end_quote_in_byte.jou @@ -1,6 +1,6 @@ import "stdlib/io.jou" +# Output: compiler error in file "tests/syntax_error/missing_end_quote_in_byte.jou", line 5: missing ' to end the byte literal def main() -> int: printf('?) - # Error: line 4: missing ' to end the byte literal - return 0 \ No newline at end of file + return 0 From bf6e0332512225ccf9c168c840a6797d8c7aa07b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=99=BD=E4=BA=91?= <71159641+littlewhitecloud@users.noreply.github.com> Date: Sat, 16 Dec 2023 10:40:16 +0800 Subject: [PATCH 11/23] Update missing_end_quote_in_string.jou --- tests/syntax_error/missing_end_quote_in_string.jou | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/syntax_error/missing_end_quote_in_string.jou b/tests/syntax_error/missing_end_quote_in_string.jou index a5608990..4886be21 100644 --- a/tests/syntax_error/missing_end_quote_in_string.jou +++ b/tests/syntax_error/missing_end_quote_in_string.jou @@ -1,6 +1,6 @@ import "stdlib/io.jou" +# Output: compiler error in file "tests/syntax_errorr/missing_end_quote_in_string.jou", line 5: missing " to end the byte literal def main() -> int: printf("Hello) - # Error: line 4: missing " to end the string - return 0 \ No newline at end of file + return 0 From f8704b04e7ae31a93f8c8c835809693268086f29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=99=BD=E4=BA=91?= <71159641+littlewhitecloud@users.noreply.github.com> Date: Sat, 16 Dec 2023 10:43:52 +0800 Subject: [PATCH 12/23] Update missing_end_quote_in_string.jou --- tests/syntax_error/missing_end_quote_in_string.jou | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/syntax_error/missing_end_quote_in_string.jou b/tests/syntax_error/missing_end_quote_in_string.jou index 4886be21..f0f4e552 100644 --- a/tests/syntax_error/missing_end_quote_in_string.jou +++ b/tests/syntax_error/missing_end_quote_in_string.jou @@ -1,6 +1,6 @@ import "stdlib/io.jou" -# Output: compiler error in file "tests/syntax_errorr/missing_end_quote_in_string.jou", line 5: missing " to end the byte literal +# Output: compiler error in file "tests/syntax_errorr/missing_end_quote_in_string.jou", line 5: missing " to end the string def main() -> int: printf("Hello) return 0 From 3ae71b6939179424243667f8348a436bda34a959 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=99=BD=E4=BA=91?= <71159641+littlewhitecloud@users.noreply.github.com> Date: Sat, 16 Dec 2023 10:44:45 +0800 Subject: [PATCH 13/23] Update string_continue_on_next_line.jou --- tests/syntax_error/string_continue_on_next_line.jou | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/syntax_error/string_continue_on_next_line.jou b/tests/syntax_error/string_continue_on_next_line.jou index 4269d6f1..136ad0a4 100644 --- a/tests/syntax_error/string_continue_on_next_line.jou +++ b/tests/syntax_error/string_continue_on_next_line.jou @@ -1,5 +1,6 @@ import "stdlib/io.jou" +# Output: compiler error in file "string_continue_on_next_line.jou", line 4: missing ' to end the byte literal def main() -> int: a = '\ 't\'' From 9c3cd1f2f8afa16e7300b3fd6ccb42d8fd869f26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=99=BD=E4=BA=91?= <71159641+littlewhitecloud@users.noreply.github.com> Date: Sat, 16 Dec 2023 13:16:07 +0800 Subject: [PATCH 14/23] Add files via upload --- tests/syntax_error/missing_end_quote_in_string.jou | 2 +- tests/syntax_error/string_continue_on_next_line.jou | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/syntax_error/missing_end_quote_in_string.jou b/tests/syntax_error/missing_end_quote_in_string.jou index f0f4e552..a860da4c 100644 --- a/tests/syntax_error/missing_end_quote_in_string.jou +++ b/tests/syntax_error/missing_end_quote_in_string.jou @@ -1,6 +1,6 @@ import "stdlib/io.jou" -# Output: compiler error in file "tests/syntax_errorr/missing_end_quote_in_string.jou", line 5: missing " to end the string +# Output: compiler error in file "tests/syntax_error/missing_end_quote_in_string.jou", line 5: missing " to end the string def main() -> int: printf("Hello) return 0 diff --git a/tests/syntax_error/string_continue_on_next_line.jou b/tests/syntax_error/string_continue_on_next_line.jou index 136ad0a4..2cadd553 100644 --- a/tests/syntax_error/string_continue_on_next_line.jou +++ b/tests/syntax_error/string_continue_on_next_line.jou @@ -1,6 +1,6 @@ import "stdlib/io.jou" -# Output: compiler error in file "string_continue_on_next_line.jou", line 4: missing ' to end the byte literal +# Output: compiler error in file "tests/syntax_error/string_continue_on_next_line.jou", line 4: missing ' to end the byte literal def main() -> int: a = '\ 't\'' From 01d76637f0f843f589468eeb693ae1d4fa28ec7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=99=BD=E4=BA=91?= <71159641+littlewhitecloud@users.noreply.github.com> Date: Sat, 16 Dec 2023 13:20:00 +0800 Subject: [PATCH 15/23] Add files via upload --- .../source_file_contain_zero_byte.jou | Bin 35 -> 166 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/tests/other_errors/source_file_contain_zero_byte.jou b/tests/other_errors/source_file_contain_zero_byte.jou index 05513f52145fb61511b5052eb9bbbb54a8269796..f0288b239dd0cd15bd25e343aea8dbceeff3f5ce 100644 GIT binary patch literal 166 zcmXYqF%H5o5Co|$`46kmfCPks$^~EG305!{VU+ly^SOZ6V-vPp?Pzw3ThXPcL*RLd z6A4I!1uqc delta 6 NcmZ3+s64S*82|@Y0s;U4 From d492e7b64e5178f1a1831aca2278f49a0220537e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=99=BD=E4=BA=91?= <71159641+littlewhitecloud@users.noreply.github.com> Date: Sat, 16 Dec 2023 13:21:39 +0800 Subject: [PATCH 16/23] wat? From 5bcf046f1605a688ed5b456d6e6a7b89f3ffca78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=99=BD=E4=BA=91?= <71159641+littlewhitecloud@users.noreply.github.com> Date: Sat, 16 Dec 2023 13:23:26 +0800 Subject: [PATCH 17/23] f From 909ba7b2288a199e1485c7baf535b2d36c6178f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=99=BD=E4=BA=91?= <71159641+littlewhitecloud@users.noreply.github.com> Date: Sat, 16 Dec 2023 13:25:17 +0800 Subject: [PATCH 18/23] why no change? --- tests/syntax_error/string_continue_on_next_line.jou | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/syntax_error/string_continue_on_next_line.jou b/tests/syntax_error/string_continue_on_next_line.jou index 2cadd553..c9fc5d5d 100644 --- a/tests/syntax_error/string_continue_on_next_line.jou +++ b/tests/syntax_error/string_continue_on_next_line.jou @@ -1,6 +1,6 @@ import "stdlib/io.jou" -# Output: compiler error in file "tests/syntax_error/string_continue_on_next_line.jou", line 4: missing ' to end the byte literal +# Output: compiler error in file "tests/syntax_error/string_continue_on_next_line.jou", line 5: missing ' to end the byte literal def main() -> int: a = '\ 't\'' From 1b05712c68b8649e34107f3071198ef789bcd396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=99=BD=E4=BA=91?= <71159641+littlewhitecloud@users.noreply.github.com> Date: Sat, 16 Dec 2023 13:32:59 +0800 Subject: [PATCH 19/23] Delete tests/other_errors/source_file_contain_zero_byte.jou --- .../source_file_contain_zero_byte.jou | Bin 166 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 tests/other_errors/source_file_contain_zero_byte.jou diff --git a/tests/other_errors/source_file_contain_zero_byte.jou b/tests/other_errors/source_file_contain_zero_byte.jou deleted file mode 100644 index f0288b239dd0cd15bd25e343aea8dbceeff3f5ce..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 166 zcmXYqF%H5o5Co|$`46kmfCPks$^~EG305!{VU+ly^SOZ6V-vPp?Pzw3ThXPcL*RLd z6A4I!1uqc From 8f67e961ae3962fd518a7fa45d5e42db2a0e764e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=99=BD=E4=BA=91?= <71159641+littlewhitecloud@users.noreply.github.com> Date: Sat, 16 Dec 2023 13:33:13 +0800 Subject: [PATCH 20/23] emm? --- .../source_file_contain_zero_byte.jou | Bin 0 -> 162 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/other_errors/source_file_contain_zero_byte.jou diff --git a/tests/other_errors/source_file_contain_zero_byte.jou b/tests/other_errors/source_file_contain_zero_byte.jou new file mode 100644 index 0000000000000000000000000000000000000000..6ef85adf46183e92e684f95bd24539ae9a1d4e3f GIT binary patch literal 162 zcmXYqF%H5o5Co|$`46kmfCPks$^~EG305!{VU+ly^SOZ6V-w2NjApmE6 Date: Sat, 16 Dec 2023 13:47:36 +0800 Subject: [PATCH 21/23] maybe this? --- .../source_file_contain_zero_byte.jou | Bin 162 -> 188 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/tests/other_errors/source_file_contain_zero_byte.jou b/tests/other_errors/source_file_contain_zero_byte.jou index 6ef85adf46183e92e684f95bd24539ae9a1d4e3f..173f2dc57da8facaeae2367d4316e4d88cf44d4e 100644 GIT binary patch delta 33 ocmZ3)xQ9_HGq)hWs6;`jxFjVfGf6))UoR`aREd|1mutcz0Kqc~-v9sr delta 7 OcmdnPxQKD0)FJ>1=mM?) From 363f6b310396e5314db2e6e3abcc0ca08768d086 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=99=BD=E4=BA=91?= <71159641+littlewhitecloud@users.noreply.github.com> Date: Sat, 16 Dec 2023 13:54:04 +0800 Subject: [PATCH 22/23] Add files via upload --- .../source_file_contain_zero_byte.jou | Bin 188 -> 212 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/tests/other_errors/source_file_contain_zero_byte.jou b/tests/other_errors/source_file_contain_zero_byte.jou index 173f2dc57da8facaeae2367d4316e4d88cf44d4e..fda18f4d3fa7b907558a05c6dd800245e06f2ae7 100644 GIT binary patch delta 47 zcmdnPc!hC71*7@IN(*HLASfux%qvOLP%23+E>Y6t Date: Sat, 16 Dec 2023 14:06:43 +0800 Subject: [PATCH 23/23] if i do not write output? --- .../source_file_contain_zero_byte.jou | Bin 212 -> 81 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/tests/other_errors/source_file_contain_zero_byte.jou b/tests/other_errors/source_file_contain_zero_byte.jou index fda18f4d3fa7b907558a05c6dd800245e06f2ae7..c8259c7c95c337176c88a256b88e34e8c5d2fa28 100644 GIT binary patch delta 8 Pcmcb@7&t*{;#_k84)Fsv delta 139 zcmXZU!3}~y5QX7r6~@yGUX2`$G-0e@0-G_e!5uO)d%z1VKyMbLfXA2r%e#Fx<9;~c zn!U?jA;_zXEh|`66fxocn<$*ktrUN-(vqw+$r_mEPC=5_G0~emRB~LR1