stage1 人工重构ast以及type部分 修复vm的UB行为

This commit is contained in:
zzy
2026-08-14 18:10:58 +08:00
parent b0e6b406ac
commit c06d7247bb
7 changed files with 142 additions and 306 deletions

View File

@@ -4,10 +4,12 @@
#include "spl_tok.h"
typedef struct {
const char *dbg_name;
const char *fpath;
const char *fname;
int line;
int col;
const char *dbg_name;
// TODO
} spl_dbg_node_t;
#define SPL_FATAL(tok, fmt, ...) \