diff options
Diffstat (limited to 'src/generator.h')
-rw-r--r-- | src/generator.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/generator.h b/src/generator.h new file mode 100644 index 0000000..53acdef --- /dev/null +++ b/src/generator.h | |||
@@ -0,0 +1,18 @@ | |||
1 | /** | ||
2 | * UPEM / Compilation / Projet | ||
3 | * Pacien TRAN-GIRARD, Adam NAILI | ||
4 | */ | ||
5 | |||
6 | #ifndef __GENERATOR_H__ | ||
7 | #define __GENERATOR_H__ | ||
8 | |||
9 | typedef enum scope { | ||
10 | GLOBAL, | ||
11 | LOCAL | ||
12 | } Scope; | ||
13 | |||
14 | void prologue(); | ||
15 | void const_declaration(); | ||
16 | void declaration(const char name[], int type, Scope scope); | ||
17 | |||
18 | #endif | ||