feature: added name to function

This commit is contained in:
Sven Vogel 2024-05-29 21:21:03 +02:00
parent 0d1f312ae2
commit 8494df56cd
1 changed files with 2 additions and 0 deletions

View File

@ -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 {