aboutsummaryrefslogtreecommitdiff
path: root/src/generator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/generator.h')
-rw-r--r--src/generator.h3
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;
19void gen_prologue(); 19void gen_prologue();
20void gen_prologue_continue(int *bss_done); 20void gen_prologue_continue(int *bss_done);
21void gen_const_declaration(); 21void gen_const_declaration();
22void gen_function_declaration(const char name[], int return_type, int nb_param); 22Type gen_function_declaration(const char name[], int return_type, int nb_param);
23void gen_function_end_declaration(); 23void gen_function_end_declaration();
24void gen_function_return(Type expect, Type actual);
24int gen_function_call(const char name[], int nb_param); 25int gen_function_call(const char name[], int nb_param);
25void gen_declaration(const char name[], int type, Scope scope); 26void gen_declaration(const char name[], int type, Scope scope);
26void gen_check(const char name[], Scope scope); 27void gen_check(const char name[], Scope scope);