aboutsummaryrefslogtreecommitdiff
path: root/src/generator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/generator.h')
-rw-r--r--src/generator.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/generator.h b/src/generator.h
index 94b03c8..bf48644 100644
--- a/src/generator.h
+++ b/src/generator.h
@@ -20,17 +20,17 @@ void gen_epilogue();
20void gen_const(const char name[], int value, Scope scope); 20void gen_const(const char name[], int value, Scope scope);
21 21
22Type gen_function_declaration(const char name[], int return_type); 22Type gen_function_declaration(const char name[], int return_type);
23void gen_tab_declaration(const char name[], Scope scope, int size);
24void gen_function_end_declaration(const char name[], Type return_type, int nb_param); 23void gen_function_end_declaration(const char name[], Type return_type, int nb_param);
25void gen_function_return(Type expect, Type actual); 24void gen_function_return(Type expect, Type actual);
26Type gen_function_call(const char name[], int nb_param); 25Type gen_function_call(const char name[], int nb_param);
26void gen_function_param_passing(int nb_params);
27 27
28void gen_tab_declaration(const char name[], Scope scope, int size);
28void gen_declaration(const char name[], Type type, Scope scope); 29void gen_declaration(const char name[], Type type, Scope scope);
29void gen_check(const char name[], Scope scope); 30void gen_check(const char name[], Scope scope);
30 31
31void gen_reade(const char name[], Scope scope); 32void gen_reade(const char name[], Scope scope);
32void gen_readc(const char name[], Scope scope); 33void gen_readc(const char name[], Scope scope);
33
34void gen_print(Type type); 34void gen_print(Type type);
35 35
36void gen_if_label(int idx); 36void gen_if_label(int idx);