diff options
Diffstat (limited to 'src/generator.h')
-rw-r--r-- | src/generator.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/generator.h b/src/generator.h index 939ab13..205fc01 100644 --- a/src/generator.h +++ b/src/generator.h | |||
@@ -19,8 +19,9 @@ FILE *output; | |||
19 | void gen_prologue(); | 19 | void gen_prologue(); |
20 | void gen_prologue_continue(int *bss_done); | 20 | void gen_prologue_continue(int *bss_done); |
21 | void gen_const_declaration(); | 21 | void gen_const_declaration(); |
22 | void gen_function_declaration(const char name[], int return_type, int nb_param); | 22 | Type gen_function_declaration(const char name[], int return_type, int nb_param); |
23 | void gen_function_end_declaration(); | 23 | void gen_function_end_declaration(); |
24 | void gen_function_return(Type expect, Type actual); | ||
24 | int gen_function_call(const char name[], int nb_param); | 25 | int gen_function_call(const char name[], int nb_param); |
25 | void gen_declaration(const char name[], int type, Scope scope); | 26 | void gen_declaration(const char name[], int type, Scope scope); |
26 | void gen_check(const char name[], Scope scope); | 27 | void gen_check(const char name[], Scope scope); |