feature: added name to function
This commit is contained in:
parent
0d1f312ae2
commit
8494df56cd
|
@ -206,6 +206,8 @@ typedef struct FunctionDefinition_t {
|
||||||
AST_NODE_PTR nodePtr;
|
AST_NODE_PTR nodePtr;
|
||||||
// body of function
|
// body of function
|
||||||
Block body;
|
Block body;
|
||||||
|
// name of function
|
||||||
|
const char* name;
|
||||||
} FunctionDefinition;
|
} FunctionDefinition;
|
||||||
|
|
||||||
typedef struct FunctionDeclaration_t {
|
typedef struct FunctionDeclaration_t {
|
||||||
|
|
Loading…
Reference in New Issue