aboutsummaryrefslogtreecommitdiff
path: root/src/generator.h
diff options
context:
space:
mode:
authorpacien2018-06-05 14:35:02 +0200
committerpacien2018-06-05 14:35:02 +0200
commit13b4fc0a1e32008f125f73148d01f12bdac3a80e (patch)
treedd3dc79a76805220bcf825710e9e0c23f86a5d7f /src/generator.h
parent53e859913d6eb7141dbd1ed48f28c336f1322534 (diff)
downloadtpc-compiler-13b4fc0a1e32008f125f73148d01f12bdac3a80e.tar.gz
Simplify return type state on call
Diffstat (limited to 'src/generator.h')
-rw-r--r--src/generator.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/generator.h b/src/generator.h
index 1f586c1..082e359 100644
--- a/src/generator.h
+++ b/src/generator.h
@@ -24,7 +24,7 @@ void 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, int nb_param);
25void gen_function_end_declaration(); 25void gen_function_end_declaration();
26void gen_function_return(Type expect, Type actual); 26void gen_function_return(Type expect, Type actual);
27int 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);
29void gen_check(const char name[], Scope scope); 29void gen_check(const char name[], Scope scope);
30 30