summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'types.h')
-rw-r--r--types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/types.h b/types.h
index b2efa50..3549ad6 100644
--- a/types.h
+++ b/types.h
@@ -509,6 +509,7 @@ typedef struct Block {
struct Statement *stmts;
struct Expression *ret_expr; /* the return expression of this block, e.g. {foo(); 3} => 3 NULL for no expression. */
struct Block *parent;
+ struct Statement **deferred; /* deferred stuff from this block; used by both eval and cgen */
} Block;
enum {
@@ -984,6 +985,8 @@ typedef struct Statement {
};
} Statement;
+typedef Statement *StatementPtr;
+
typedef struct ParsedFile {
Statement *stmts;
} ParsedFile;