ast interface uage reductions

This commit is contained in:
2024-12-02 03:18:52 -05:00
parent 9321a04ebc
commit 5b0079fb0c
11 changed files with 241 additions and 249 deletions

View File

@ -358,7 +358,7 @@ CodeBody gen_ast_inlines()
{
if ( other.ast && other->Parent )
{
ast = rcast( decltype(ast), other.ast->duplicate() );
ast = rcast( decltype(ast), GEN_NS duplicate(other.ast) );
rcast( AST*, ast)->Parent = nullptr;
}