diff options
author | Adam NAILI | 2018-06-05 19:53:58 +0200 |
---|---|---|
committer | Adam NAILI | 2018-06-05 19:53:58 +0200 |
commit | a67cd40065f790383776ec3fffa364f6443f7ee7 (patch) | |
tree | 420f183d70f4278cebe2e670964c064598337bea /src/generator.h | |
parent | 7138ea2f185c6963cfd09a13cfc289d4d1452858 (diff) | |
download | tpc-compiler-a67cd40065f790383776ec3fffa364f6443f7ee7.tar.gz |
Parameters handling (without checking types on parameters)
Diffstat (limited to 'src/generator.h')
-rw-r--r-- | src/generator.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/generator.h b/src/generator.h index 082e359..41a769a 100644 --- a/src/generator.h +++ b/src/generator.h | |||
@@ -21,8 +21,8 @@ FILE *output; | |||
21 | void gen_prologue(); | 21 | void gen_prologue(); |
22 | void gen_prologue_continue(int *bss_done); | 22 | void gen_prologue_continue(int *bss_done); |
23 | void gen_const_declaration(); | 23 | void gen_const_declaration(); |
24 | Type gen_function_declaration(const char name[], int return_type, int nb_param); | 24 | Type gen_function_declaration(const char name[], int return_type); |
25 | void gen_function_end_declaration(); | 25 | void gen_function_end_declaration(const char name[], int return_type, int nb_param); |
26 | void gen_function_return(Type expect, Type actual); | 26 | void gen_function_return(Type expect, Type actual); |
27 | Type gen_function_call(const char name[], int nb_param); | 27 | Type gen_function_call(const char name[], int nb_param); |
28 | void gen_declaration(const char name[], int type, Scope scope); | 28 | void gen_declaration(const char name[], int type, Scope scope); |