aboutsummaryrefslogtreecommitdiff
path: root/src/generator.h
diff options
context:
space:
mode:
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();