diff options
author | Adam NAILI | 2018-04-23 12:14:30 +0200 |
---|---|---|
committer | Adam NAILI | 2018-04-23 12:14:30 +0200 |
commit | a33ad7d7a547dc59cbee6146e1bd0cf16f4fdb62 (patch) | |
tree | e47ea5d18d06cffe2609b4d9da2020e24fd6ac8c /src/symboltable.h | |
parent | a431f189d33af68ea179e464c889761e65ed1f08 (diff) | |
download | tpc-compiler-a33ad7d7a547dc59cbee6146e1bd0cf16f4fdb62.tar.gz |
Not finished modifications : beginning of the traduction
Diffstat (limited to 'src/symboltable.h')
-rw-r--r-- | src/symboltable.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/symboltable.h b/src/symboltable.h index 02e47a4..bd7a373 100644 --- a/src/symboltable.h +++ b/src/symboltable.h | |||
@@ -24,8 +24,10 @@ typedef struct { | |||
24 | } SymbolTable; | 24 | } SymbolTable; |
25 | 25 | ||
26 | 26 | ||
27 | void addVar(const char name[], int type); | 27 | void glo_addVar(const char name[], int type); |
28 | void lookup(const char name[]); | 28 | int glo_lookup(const char name[]); |
29 | void display_table(); | 29 | void glo_display_table(); |
30 | int get_type(const char name[]); | 30 | void loc_addVar(const char name[], int type); |
31 | int loc_lookup(const char name[]); | ||
32 | void loc_display_table(); | ||
31 | #endif \ No newline at end of file | 33 | #endif \ No newline at end of file |