1, #include "stdio.h" of 'musl libc' ok,
authoryu.dongliang <18588496441@163.com>
Wed, 5 Aug 2026 16:32:34 +0000 (00:32 +0800)
committeryu.dongliang <18588496441@163.com>
Wed, 5 Aug 2026 16:32:46 +0000 (00:32 +0800)
commit82021000a4f0af3ab9db17b87ec7a25090eed4e0
treeca3b7aab2bb40d2fb38406cfc82ba44259485aac
parent721ad8a2be9556d9b60d2ff8b9faff37e8aef68c
1, #include "stdio.h" of 'musl libc' ok,
2, #if expr only has const integer & identity,
3, support '__builtin_va_list, __builtin_va_start(), __builtin_va_arg(), __builtin_va_end()',
4, support -D to define macro in cmd line,
5, fix: macro in *.c defined before can't be found in *.h files by #include,
6, add option -p to parse the source code only, not compile or make 3ac code,
7, close some logs.
25 files changed:
core/scf_lex_word.h
examples/c89.c [new file with mode: 0644]
examples/hello.c
examples/hello.h [deleted file]
examples/unsigned_long_short.c [new file with mode: 0644]
lex/scf_lex.c
lex/scf_lex.h
lex/scf_lex_test.c
lex/scf_macro.c
lex/scf_macro_expr.c
parse/main.c
parse/scf_dfa_call.c
parse/scf_dfa_function.c
parse/scf_dfa_include.c
parse/scf_dfa_new.c
parse/scf_dfa_operator.c
parse/scf_dfa_type.c
parse/scf_dfa_var.c
parse/scf_parse.c
parse/scf_parse.h
sysroot/include/bits/alltypes.h [moved from sysroot/include/alltypes.h with 100% similarity]
sysroot/include/bits/syscall.h [moved from sysroot/include/syscall.h with 100% similarity]
sysroot/include/features.h [new file with mode: 0644]
sysroot/include/stdio.h
sysroot/lib/__builtin__.h [new file with mode: 0644]