From 9f3be47e4327561bda4a3714ddc00fe1ee159e2e Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 2 Nov 2024 10:09:24 -0400 Subject: expr: Get rid of the extra list node We can now just use for_arena() to iterate over the allocated bfs_exprs. --- src/expr.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/expr.h') diff --git a/src/expr.h b/src/expr.h index 871b120..cb561c8 100644 --- a/src/expr.h +++ b/src/expr.h @@ -108,8 +108,6 @@ struct bfs_exprs { struct bfs_expr { /** This expression's next sibling, if any. */ struct bfs_expr *next; - /** The next allocated expression. */ - struct { struct bfs_expr *next; } freelist; /** The function that evaluates this expression. */ bfs_eval_fn *eval_fn; -- cgit v1.2.3