aboutsummaryrefslogtreecommitdiff
path: root/src/generator.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/generator.h')
-rw-r--r--src/generator.h18
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
9typedef enum scope {
10 GLOBAL,
11 LOCAL
12} Scope;
13
14void prologue();
15void const_declaration();
16void declaration(const char name[], int type, Scope scope);
17
18#endif