Merge pull request #1284 from Sonicadvance1/fix_struct_match

StructVerifier: Fix struct match and minor fixes
This commit is contained in:
Ryan Houdek authored and GitHub committed 2021-10-02 11:07:51 -07:00
commit 2b757a9b9a
9 files changed
+62 -16

No files matched your search

+2 -2
View File
@@ -244,7 +244,7 @@ def HandleVarDeclElements(Arch, VarDecl, Cursor):
logging.critical ("Can't handle alias type '{0}'".format(Child.spelling))
Arch.Parsed = False
elif (Child.spelling == "fex-match"):
VarDecl.ExpectedFEXMatch = True
VarDecl.ExpectFEXMatch = True
else:
# Unknown annotation
pass
@@ -317,7 +317,7 @@ def HandleStructElements(Arch, Struct, Cursor):
Arch.Parsed = False
elif (Child.spelling == "fex-match"):
Struct.ExpectedFEXMatch = True
Struct.ExpectFEXMatch = True
else:
# Unknown annotation
pass