diff options
Diffstat (limited to 'inter_builtins.h')
-rw-r--r-- | inter_builtins.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inter_builtins.h b/inter_builtins.h index 6dc935d..c9a4bdc 100644 --- a/inter_builtins.h +++ b/inter_builtins.h @@ -1,8 +1,7 @@ #pragma once #include "ast.h" - -typedef struct InterRet InterRet; +#include "interpreter.h" InterRet builtin_do(InterState *is,int nargs,AST **args); InterRet builtin_print(InterState *is,int nargs,AST **args); @@ -11,3 +10,4 @@ InterRet builtin_difference(InterState *is,int nargs,AST **args); InterRet builtin_product(InterState *is,int nargs,AST **args); InterRet builtin_quotient(InterState *is,int nargs,AST **args); InterRet builtin_remainder(InterState *is,int nargs,AST **args); +InterRet builtin_define(InterState *is,int nargs,AST **args); |