Add ast.Foreign_Import_Decl to ast.clone

This commit is contained in:
gingerBill
2024-06-03 22:20:39 +01:00
parent 50b4a63fe1
commit 8e9716ea2f

View File

@@ -279,6 +279,7 @@ clone_node :: proc(node: ^Node) -> ^Node {
r.body = clone(r.body)
case ^Foreign_Import_Decl:
r.name = auto_cast clone(r.name)
r.fullpaths = auto_cast clone_array(r.fullpaths)
case ^Proc_Group:
r.args = clone(r.args)
case ^Attribute: