| 12345678910111213141516171819202122 |
- #ifndef TYPES_H
- #define TYPES_H
- #include "nodes.h"
- typedef struct binding {
- TOKEN* name;
- NODE* tree;
- struct environ *env;
- } BIND;
- typedef struct blist {
- BIND* binding;
- struct blist *next;
- } BLIST;
- typedef struct environ {
- BLIST *bindings;
- struct environ *parent;
- } ENV;
- #endif
|