stage1 支持指针运算 提供新的类型检查计算

This commit is contained in:
zzy committed 2026-09-15 19:11:01 +08:00
1 parent be41a82d55
commit 06f3884c30
12 files changed
+572 -321

No files matched your search

+6
View File
@@ -376,6 +376,12 @@ int main(int argc, char **argv) {
strcmp(mode_name, "sema") == 0 || strcmp(mode_name, "ir") == 0 ||
strcmp(mode_name, "vm") == 0) {
tfn = test_once_with_dump;
} else if (strcmp(mode_name, "run") == 0) {
// HACK
Nob_Cmd cmd = {0};
nob_cmd_append(&cmd, BUILD_FOLDER "spl_cli");
nob_cmd_append(&cmd, BUILD_FOLDER "test.sir");
return nob_cmd_run(&cmd) ? 0 : 1;
} else {
da_append(&files, mode_name);
}