Polymorphic procedure, with passed in compile time type but without removing the type in params etc.
This commit is contained in:
@@ -421,18 +421,17 @@ typedef uint32_t Ast_Call_Item_Flag;
|
||||
enum {
|
||||
CALL_INDEX = 1ull << 1,
|
||||
CALL_NAME = 1ull << 2,
|
||||
CALL_INCLUDED = 1ull << 4,
|
||||
};
|
||||
|
||||
struct Ast_Call_Item : Ast_Expr {
|
||||
Ast_Call_Item_Flag call_flags;
|
||||
int32_t resolved_index;
|
||||
int32_t resolved_index; // This is probably for compound array
|
||||
Ast_Expr *item;
|
||||
union {
|
||||
Ast_Atom *name;
|
||||
Ast_Expr *index;
|
||||
};
|
||||
Intern_String resolved_name;
|
||||
Intern_String resolved_name; // This is probably for compound struct
|
||||
};
|
||||
|
||||
struct Ast_Call : Ast_Expr {
|
||||
|
||||
Reference in New Issue
Block a user