aboutsummaryrefslogtreecommitdiff
path: root/semantics.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-04-04 22:07:11 +0800
committerTeddy <ted.sybil@gmail.com>2014-04-04 22:07:11 +0800
commitdcab32187ccd3d7e31e2e01e4c1b313fdad52f99 (patch)
treef6318110fc79ef3f06aa758877c87f0d0bb5b62b /semantics.h
parent2f2b0feb722f30211d261b5653f936227f10f91a (diff)
...
Diffstat (limited to 'semantics.h')
-rw-r--r--semantics.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/semantics.h b/semantics.h
index dfbf7b7..b770156 100644
--- a/semantics.h
+++ b/semantics.h
@@ -43,6 +43,7 @@ typedef struct CType {
CVar *params;
CVar *local;
struct CType *ret;
+ CNode *body;
} func; /* for a function */
} rec;
int size; /* memory footprint */