diff options
author | Vicente <vicente@masba.net> | 2024-04-02 17:37:11 -0300 |
---|---|---|
committer | Vicente <vicente@masba.net> | 2024-04-02 17:37:11 -0300 |
commit | f84aaa169191ecc2c1ee8f928c6b1b963232bc61 (patch) | |
tree | bf7155bef6dfb06958e402da9b5fa8f15bb31751 | |
parent | 83dc0d3875e0092c529d1260af4434818f912972 (diff) |
added header
-rw-r--r-- | tree.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +enum nodeType { + BIOP, + UNOP, + LTTR +}; + +typedef struct { + enum nodeType type; + char el; + struct node *child[2]; +} node; + +node* parse(const char *str); |