diff options
Diffstat (limited to 'types.h')
-rw-r--r-- | types.h | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -0,0 +1,18 @@ +#include <stdbool.h> + +typedef struct exp { + char name; + char op; + + bool var; + union { + int v; + char vv; + }; +} exp; + +typedef struct function { + exp *exprs[1024]; + int exprcount; + char name; +} function; |