aboutsummaryrefslogtreecommitdiff
path: root/src/generator.h
diff options
context:
space:
mode:
authorAdam NAILI2018-06-05 19:53:58 +0200
committerAdam NAILI2018-06-05 19:53:58 +0200
commita67cd40065f790383776ec3fffa364f6443f7ee7 (patch)
tree420f183d70f4278cebe2e670964c064598337bea /src/generator.h
parent7138ea2f185c6963cfd09a13cfc289d4d1452858 (diff)
downloadtpc-compiler-a67cd40065f790383776ec3fffa364f6443f7ee7.tar.gz
Parameters handling (without checking types on parameters)
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 082e359..41a769a 100644
--- a/src/generator.h
+++ b/src/generator.h
@@ -21,8 +21,8 @@ FILE *output;
21void gen_prologue(); 21void gen_prologue();
22void gen_prologue_continue(int *bss_done); 22void gen_prologue_continue(int *bss_done);
23void gen_const_declaration(); 23void gen_const_declaration();
24Type gen_function_declaration(const char name[], int return_type, int nb_param); 24Type gen_function_declaration(const char name[], int return_type);
25void gen_function_end_declaration(); 25void gen_function_end_declaration(const char name[], int return_type, int nb_param);
26void gen_function_return(Type expect, Type actual); 26void gen_function_return(Type expect, Type actual);
27Type gen_function_call(const char name[], int nb_param); 27Type gen_function_call(const char name[], int nb_param);
28void gen_declaration(const char name[], int type, Scope scope); 28void gen_declaration(const char name[], int type, Scope scope);