From 67fc7933df394848eeb86a45f37e35ded032e5e9 Mon Sep 17 00:00:00 2001 From: Adam NAILI Date: Mon, 14 May 2018 15:48:01 +0200 Subject: Not working properly: Beginning of the implementation of globals -> need to modify if(global) else --- 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 c907f66..daa7339 100644 --- a/src/generator.h +++ b/src/generator.h @@ -11,7 +11,10 @@ typedef enum scope { LOCAL } Scope; +extern int nb_globals; + void gen_prologue(); +void gen_prologue_continue(); void gen_const_declaration(); void gen_declaration(const char name[], int type, Scope scope); -- cgit v1.2.3