diff options
| author | Mustafa Quraish <[email protected]> | 2022-02-05 05:47:52 -0500 |
|---|---|---|
| committer | Mustafa Quraish <[email protected]> | 2022-02-05 08:56:15 -0500 |
| commit | 2ca7824bedade35a08da5c037b8dc999a54e84f1 (patch) | |
| tree | 281421602911828b060f43a540862517c19370b3 /src/ast.h | |
| parent | Handle command-line arguments properly on linux (diff) | |
| download | cup-2ca7824bedade35a08da5c037b8dc999a54e84f1.tar.xz cup-2ca7824bedade35a08da5c037b8dc999a54e84f1.zip | |
Allow function declarations without a definition
Diffstat (limited to 'src/ast.h')
| -rw-r--r-- | src/ast.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -95,6 +95,8 @@ typedef struct ast_node { // TODO: Arguments / etc? Variable *args; int num_args; + + bool is_defined; } func; // Block of statements |