aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ek/ast.h1
-rw-r--r--include/ek/ops.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/include/ek/ast.h b/include/ek/ast.h
index d36860f..e078f59 100644
--- a/include/ek/ast.h
+++ b/include/ek/ast.h
@@ -22,6 +22,7 @@
#define AST_CAST(x) x->_cast
#define AST_PROC(x) x->_proc
#define AST_VAR(x) x->_var
+#define AST_RETURN(x) x->_return
#define AST_STRUCT(x) x->_struct
#define AST_ENUM(x) x->_enum
#define AST_CALL(x) x->_call
diff --git a/include/ek/ops.h b/include/ek/ops.h
index e913d37..0d9d433 100644
--- a/include/ek/ops.h
+++ b/include/ek/ops.h
@@ -27,6 +27,7 @@ enum opcode {
OP_LDT,
OP_STW,
OP_LDW,
+ OP_RET,
OP_MV, /* kind of meta op, will be realized as either load/store or register move */
OP_LABEL,
OP_COMMENT,