From b8f7e7b6843c2bff778ce3c74e355a03e7565499 Mon Sep 17 00:00:00 2001 From: Adam NAILI Date: Sun, 3 Jun 2018 15:30:53 +0200 Subject: Functions tables + void functions working (need to work on returns and parameters cause all functions are void here) --- src/generator.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/generator.h') diff --git a/src/generator.h b/src/generator.h index 1a4c96a..b486172 100644 --- a/src/generator.h +++ b/src/generator.h @@ -19,6 +19,9 @@ FILE *output; void gen_prologue(); void gen_prologue_continue(int *bss_done); void gen_const_declaration(); +void gen_function_declaration(const char name[], int return_type, int nb_param); +void gen_function_end_declaration(); +int gen_function_call(const char name[], int nb_param); void gen_declaration(const char name[], int type, Scope scope); void gen_read(const char name[], Scope scope); -- cgit v1.2.3