mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-20 05:20:28 +00:00
Add ast.Foreign_Import_Decl to ast.clone
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user