1, support macro expr in #if,
authoryu.dongliang <18588496441@163.com>
Fri, 3 Jul 2026 03:51:26 +0000 (11:51 +0800)
committeryu.dongliang <18588496441@163.com>
Fri, 3 Jul 2026 03:51:36 +0000 (11:51 +0800)
commit6c468f3624709cfc71102853f1cb7e52464551b5
tree1d234d0cc2872ed15126db2983cd9b0f465cd1cd
parent132a092cfe81f3df00eab7827d087265d716b2ca
1, support macro expr in #if,
2, support C style function pointer,
3, support C style union & struct,
4, support trinary operator in #if macro expr.
21 files changed:
core/scf_lex_word.h
examples/c_func_pointer.c [new file with mode: 0644]
examples/macro_if.c [new file with mode: 0644]
examples/union_float_reg.c [new file with mode: 0644]
lex/Makefile
lex/scf_lex.c
lex/scf_lex.h
lex/scf_lex_util.c
lex/scf_macro.c
lex/scf_macro_expr.c [new file with mode: 0644]
native/x64/scf_x64_inst.c
parse/Makefile
parse/scf_dfa_function.c
parse/scf_dfa_macro.c
parse/scf_dfa_util.h
parse/scf_operator_handler_expr.c
parse/scf_operator_handler_semantic.c
parse/scf_parse.c
util/scf_string.c
util/scf_string.h
util/scf_vector.h