FUCK YEAH, it works, it was the is_valid thing fo slices that was inverted, did the test by brute force and damn, is the expected AST
This commit is contained in:
@@ -23,5 +23,3 @@ uint8_t node_rbp(ASTNode node);
|
||||
AST parse(ASTNodeArray *arr);
|
||||
ASTNode *parse_expr(ASTNodeSlice *slice, uint8_t min_bp);
|
||||
|
||||
void print_AST(AST tree);
|
||||
void print_node(ASTNode *node, int depth);
|
||||
|
||||
Reference in New Issue
Block a user