mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 14:00:16 +02:00
Merge pull request #1284 from Sonicadvance1/fix_struct_match
StructVerifier: Fix struct match and minor fixes
This commit is contained in:
9 files changed
+62
-16
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user