@@ -1279,7 +1279,7 @@ void rbs_node_destroy(rbs_node_t *any_node) {
1279
1279
case RBS_AST_ANNOTATION : {
1280
1280
rbs_ast_annotation_t * node = (rbs_ast_annotation_t * )any_node ;
1281
1281
1282
- // string is a string, so it will be freed when the allocator is freed .
1282
+ // node-> string is a `rbs_string_t` that will be freed by the arena allocator .
1283
1283
break ;
1284
1284
}
1285
1285
#line 202 "prism/templates/src/ast.c.erb"
@@ -1290,7 +1290,7 @@ void rbs_node_destroy(rbs_node_t *any_node) {
1290
1290
case RBS_AST_COMMENT : {
1291
1291
rbs_ast_comment_t * node = (rbs_ast_comment_t * )any_node ;
1292
1292
1293
- // string is a string, so it will be freed when the allocator is freed .
1293
+ // node-> string is a `rbs_string_t` that will be freed by the arena allocator .
1294
1294
break ;
1295
1295
}
1296
1296
#line 202 "prism/templates/src/ast.c.erb"
@@ -1471,7 +1471,7 @@ void rbs_node_destroy(rbs_node_t *any_node) {
1471
1471
case RBS_AST_INTEGER : {
1472
1472
rbs_ast_integer_t * node = (rbs_ast_integer_t * )any_node ;
1473
1473
1474
- // string_representation is a string, so it will be freed when the allocator is freed .
1474
+ // node-> string_representation is a `rbs_string_t` that will be freed by the arena allocator .
1475
1475
break ;
1476
1476
}
1477
1477
#line 202 "prism/templates/src/ast.c.erb"
@@ -1698,7 +1698,7 @@ void rbs_node_destroy(rbs_node_t *any_node) {
1698
1698
case RBS_AST_STRING : {
1699
1699
rbs_ast_string_t * node = (rbs_ast_string_t * )any_node ;
1700
1700
1701
- // string is a string, so it will be freed when the allocator is freed .
1701
+ // node-> string is a `rbs_string_t` that will be freed by the arena allocator .
1702
1702
break ;
1703
1703
}
1704
1704
#line 202 "prism/templates/src/ast.c.erb"
0 commit comments