added module type
This commit is contained in:
parent
7705aea238
commit
dcd309c7b4
|
@ -469,4 +469,17 @@ typedef struct Statement_t {
|
||||||
} impl;
|
} impl;
|
||||||
} Statement;
|
} Statement;
|
||||||
|
|
||||||
|
// .------------------------------------------------.
|
||||||
|
// | Module |
|
||||||
|
// '------------------------------------------------'
|
||||||
|
|
||||||
|
typedef struct Module_t {
|
||||||
|
GHashTable* boxes;
|
||||||
|
GHashTable* types;
|
||||||
|
GHashTable* functions;
|
||||||
|
GHashTable* variables;
|
||||||
|
// to be resolved after the module has been parsed completely
|
||||||
|
GArray* imports;
|
||||||
|
} Module;
|
||||||
|
|
||||||
#endif // SET_TYPES_H_
|
#endif // SET_TYPES_H_
|
||||||
|
|
Loading…
Reference in New Issue