mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-04 20:17:48 +00:00
Add attributes to Foreign_Import_Decl in clone
This commit is contained in:
@@ -278,8 +278,9 @@ clone_node :: proc(node: ^Node) -> ^Node {
|
||||
r.foreign_library = clone(r.foreign_library)
|
||||
r.body = clone(r.body)
|
||||
case ^Foreign_Import_Decl:
|
||||
r.attributes = clone_dynamic_array(r.attributes)
|
||||
r.name = auto_cast clone(r.name)
|
||||
r.fullpaths = auto_cast clone_array(r.fullpaths)
|
||||
r.fullpaths = clone_array(r.fullpaths)
|
||||
case ^Proc_Group:
|
||||
r.args = clone(r.args)
|
||||
case ^Attribute:
|
||||
|
||||
Reference in New Issue
Block a user