aboutsummaryrefslogtreecommitdiff
path: root/src/generator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/generator.h')
-rw-r--r--src/generator.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/generator.h b/src/generator.h
index b486172..939ab13 100644
--- a/src/generator.h
+++ b/src/generator.h
@@ -23,9 +23,12 @@ void gen_function_declaration(const char name[], int return_type, int nb_param);
23void gen_function_end_declaration(); 23void gen_function_end_declaration();
24int gen_function_call(const char name[], int nb_param); 24int gen_function_call(const char name[], int nb_param);
25void gen_declaration(const char name[], int type, Scope scope); 25void gen_declaration(const char name[], int type, Scope scope);
26void gen_check(const char name[], Scope scope);
26 27
27void gen_read(const char name[], Scope scope); 28void gen_reade(const char name[]);
28void gen_print(); 29void gen_readc(const char name[]);
30
31void gen_print(int type);
29 32
30void gen_if_label(int idx); 33void gen_if_label(int idx);
31void gen_if_start(int idx); 34void gen_if_start(int idx);