stage1 重构代码 重构nob构建方式

This commit is contained in:
zzy committed 2026-10-22 19:58:15 +08:00
1 parent 3714c2d142
commit 4c0317fcb5
14 files changed
+4004 -2160

No files matched your search

+2 -1
View File
@@ -465,7 +465,8 @@ spl_tok_vec_t spl_lex(const char *source, const char *fname) {
TRY_OP1('$', TOK_DOLLAR);
TRY_OP1('?', TOK_COND);
// TODO
LOG_ERROR("%s:%zu:%zu: unknown character '%c' (0x%02x)", fname ? fname : "<null>", line, col,
(c >= 32 && c < 127) ? c : '?', (unsigned char)c);
spl_tok_t tok;
memset(&tok, 0, sizeof(tok));
tok.type = TOK_UNKNOWN;