diff options
author | Adam NAILI | 2018-06-05 14:09:01 +0200 |
---|---|---|
committer | Adam NAILI | 2018-06-05 14:09:01 +0200 |
commit | 53e859913d6eb7141dbd1ed48f28c336f1322534 (patch) | |
tree | b550a39273c38141a678dd0bd49d31902a0252dd /src/generator.h | |
parent | 8f6dd273479bdc7789d40a235b0afb6598fd0435 (diff) | |
download | tpc-compiler-53e859913d6eb7141dbd1ed48f28c336f1322534.tar.gz |
Replacing VOID by VOID_T
Diffstat (limited to 'src/generator.h')
-rw-r--r-- | src/generator.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/generator.h b/src/generator.h index 205fc01..1f586c1 100644 --- a/src/generator.h +++ b/src/generator.h | |||
@@ -7,6 +7,7 @@ | |||
7 | #define __GENERATOR_H__ | 7 | #define __GENERATOR_H__ |
8 | 8 | ||
9 | #include <stdio.h> | 9 | #include <stdio.h> |
10 | #include "symbol_table.h" | ||
10 | 11 | ||
11 | typedef enum scope { | 12 | typedef enum scope { |
12 | GLOBAL, | 13 | GLOBAL, |
@@ -14,6 +15,7 @@ typedef enum scope { | |||
14 | } Scope; | 15 | } Scope; |
15 | 16 | ||
16 | extern int nb_globals; | 17 | extern int nb_globals; |
18 | extern int lineno; | ||
17 | FILE *output; | 19 | FILE *output; |
18 | 20 | ||
19 | void gen_prologue(); | 21 | void gen_prologue(); |