primitive support of variadic arguments
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -68,6 +68,7 @@ typedef struct hawk_nde_mbs_t hawk_nde_mbs_t;
|
||||
typedef struct hawk_nde_rex_t hawk_nde_rex_t;
|
||||
typedef struct hawk_nde_fun_t hawk_nde_fun_t;
|
||||
typedef struct hawk_nde_xnil_t hawk_nde_xnil_t;
|
||||
typedef struct hawk_nde_xarg_t hawk_nde_xarg_t;
|
||||
|
||||
typedef struct hawk_nde_var_t hawk_nde_var_t;
|
||||
typedef struct hawk_nde_fncall_t hawk_nde_fncall_t;
|
||||
@ -201,6 +202,13 @@ struct hawk_nde_xnil_t
|
||||
HAWK_NDE_HDR;
|
||||
};
|
||||
|
||||
struct hawk_nde_xarg_t
|
||||
{
|
||||
HAWK_NDE_HDR;
|
||||
int opcode; /* 0: @argc, 1: @argv */
|
||||
hawk_nde_t* pos;
|
||||
};
|
||||
|
||||
/* HAWK_NDE_FUN - function as a value */
|
||||
struct hawk_nde_fun_t
|
||||
{
|
||||
|
Reference in New Issue
Block a user