fixed topological sorting
This commit is contained in:
parent
597efe5791
commit
eed0f40516
3 changed files with 48 additions and 22 deletions
2
sema.h
2
sema.h
|
|
@ -21,13 +21,13 @@ typedef struct _type {
|
|||
type_tag tag;
|
||||
usize size;
|
||||
usize alignment;
|
||||
char *name;
|
||||
union {
|
||||
u8 integer;
|
||||
u8 flt; // float
|
||||
struct {
|
||||
bool is_const;
|
||||
bool is_volatile;
|
||||
u16 alignment;
|
||||
struct _type *child;
|
||||
} ptr;
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue