added checking of tree parents (tree_check)
[bosc.git] / src / compiler.h
blobbc410098f2dd31813cda6d43c39b7631be23ec2e
1 #ifndef COMPILER_H
2 #define COMPILER_H
4 /// simplifies semicolon trees into blocks and comma trees into lists
5 void simplify_ast(ASTNode* root);
7 /// checks tree parents
8 bool tree_check(ASTNode* root);
11 #endif