aboutsummaryrefslogtreecommitdiff
path: root/src/generator.h
diff options
context:
space:
mode:
authorAdam NAILI2018-06-05 14:09:01 +0200
committerAdam NAILI2018-06-05 14:09:01 +0200
commit53e859913d6eb7141dbd1ed48f28c336f1322534 (patch)
treeb550a39273c38141a678dd0bd49d31902a0252dd /src/generator.h
parent8f6dd273479bdc7789d40a235b0afb6598fd0435 (diff)
downloadtpc-compiler-53e859913d6eb7141dbd1ed48f28c336f1322534.tar.gz
Replacing VOID by VOID_T
Diffstat (limited to 'src/generator.h')
-rw-r--r--src/generator.h2
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
11typedef enum scope { 12typedef enum scope {
12 GLOBAL, 13 GLOBAL,
@@ -14,6 +15,7 @@ typedef enum scope {
14} Scope; 15} Scope;
15 16
16extern int nb_globals; 17extern int nb_globals;
18extern int lineno;
17FILE *output; 19FILE *output;
18 20
19void gen_prologue(); 21void gen_prologue();