codegen almost finished
This commit is contained in:
parent
ed0ad1d095
commit
870cf8f0b4
15 changed files with 523 additions and 126 deletions
1
parser.h
1
parser.h
|
|
@ -230,6 +230,7 @@ typedef struct _ast_node {
|
|||
usize name_len;
|
||||
struct _ast_node *type;
|
||||
struct _ast_node *body;
|
||||
bool is_extern;
|
||||
} function;
|
||||
struct {
|
||||
variant *variants;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue