support 'typedef' for 'struct, union, array & function pointer'
authoryu.dongliang <18588496441@163.com>
Thu, 16 Jul 2026 07:36:28 +0000 (15:36 +0800)
committeryu.dongliang <18588496441@163.com>
Thu, 16 Jul 2026 07:36:28 +0000 (15:36 +0800)
commit0aba129da9ebbe06298c5896674239488f91156a
tree03f963b130226a342ea464db05cced0a23de7b72
parenta5329f816b57b0550e072a586027ed29bc2d90ac
support 'typedef' for 'struct, union, array & function pointer'
22 files changed:
core/scf_ast.c
core/scf_ast.h
core/scf_block.c
core/scf_block.h
core/scf_function.h
core/scf_lex_word.h
core/scf_scope.c
core/scf_scope.h
core/scf_type.h
core/scf_variable.h
examples/c_func_ptr_array.c [new file with mode: 0644]
examples/struct_only_declare.c [new file with mode: 0644]
examples/typedef.c [new file with mode: 0644]
examples/typedef_func_ptr.c [new file with mode: 0644]
native/x64/scf_x64_peephole.c
parse/scf_dfa_class.c
parse/scf_dfa_expr.c
parse/scf_dfa_function.c
parse/scf_dfa_type.c
parse/scf_dfa_var.c
parse/scf_parse.c
parse/scf_parse.h