diff options
author | Tavian Barnes <tavianator@tavianator.com> | 2024-11-02 10:09:24 -0400 |
---|---|---|
committer | Tavian Barnes <tavianator@tavianator.com> | 2024-11-04 12:26:38 -0500 |
commit | 9f3be47e4327561bda4a3714ddc00fe1ee159e2e (patch) | |
tree | e7cf5864626f8bfd46a041ec9fbe46067591ee03 /src/expr.h | |
parent | 6e961567434f50abf850963873988c3365098681 (diff) | |
download | bfs-9f3be47e4327561bda4a3714ddc00fe1ee159e2e.tar.xz |
expr: Get rid of the extra list node
We can now just use for_arena() to iterate over the allocated bfs_exprs.
Diffstat (limited to 'src/expr.h')
-rw-r--r-- | src/expr.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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; |