Skip to content

Commit e08ffdd

Browse files
committed
Unified: Small tweak to macro call extraction
1 parent c3dfbaa commit e08ffdd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • unified/extractor/src/languages/swift

‎unified/extractor/src/languages/swift/swift.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ fn translation_rules() -> Vec<Rule<SwiftContext>> {
731731
macro_name_node: (identifier #{name})
732732
type_argument: {type_args}
733733
argument: {args}
734-
argument: {trailing}
734+
argument: {trailing.map(|trailing| tree!((argument value: {trailing})))}
735735
argument: {additional})
736736
),
737737
// Member access (`list.append`). The `declName` is itself a

0 commit comments

Comments
 (0)