mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 01:39:21 +02:00
Merge branch 'GP-831_ryanmkurtz_PR-2882_aedrax_aedrax-patch-idaxml-set-member-cmt' into GP-831_ryanmkurtz_ida-PRs
This commit is contained in:
commit
ccb2c439d5
1 changed files with 2 additions and 2 deletions
|
@ -3111,11 +3111,11 @@ class XmlImporter(IdaXml):
|
||||||
"""
|
"""
|
||||||
regcmt = member.find(REGULAR_CMT)
|
regcmt = member.find(REGULAR_CMT)
|
||||||
if regcmt != None:
|
if regcmt != None:
|
||||||
idc.set_member_cmt(mbr, regcmt.text, False)
|
ida_struct.set_member_cmt(mbr, regcmt.text, False)
|
||||||
self.update_counter(MEMBER + ':' + REGULAR_CMT)
|
self.update_counter(MEMBER + ':' + REGULAR_CMT)
|
||||||
rptcmt = member.find(REPEATABLE_CMT)
|
rptcmt = member.find(REPEATABLE_CMT)
|
||||||
if rptcmt != None:
|
if rptcmt != None:
|
||||||
idc.set_member_cmt(mbr, rptcmt.text, True)
|
ida_struct.set_member_cmt(mbr, rptcmt.text, True)
|
||||||
self.update_counter(MEMBER + ':' + REPEATABLE_CMT)
|
self.update_counter(MEMBER + ':' + REPEATABLE_CMT)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue