summaryrefslogtreecommitdiff
path: root/src/vector.c
diff options
context:
space:
mode:
authorCarlos Maniero <carlos@maniero.me>2023-05-02 23:45:56 -0300
committerJohnny Richard <johnny@johnnyrichard.com>2023-05-03 23:00:14 +0200
commit0b0ce0d1735b4358691fb1d4a85b550d45ae9d48 (patch)
treee87de88ee2af7c8e2c86c6d906194007027f7c5b /src/vector.c
parentd97cdd9e84879d8fc3adf4bcf5c130f498e95b79 (diff)
ast: Replace init by allocation (new) functions
All parsers have been following the patterns bellow: ast_node_t *node = ast_node_new(); ast_node_init_node_kind(node, ...args); return node; Bringing a uncessessary distraction when reading. The pattern bellow was replaced by: return ast_node_new_node_kind(...args); Signed-off-by: Carlos Maniero <carlos@maniero.me>
Diffstat (limited to 'src/vector.c')
0 files changed, 0 insertions, 0 deletions