mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Improve handling of variables for decomp parser (#376)
* Parser refactor: - Handling LIRBARY and STRING markers - Extracting global variable name for future comparison - Marking function static variables - More fluent error messages * String constants annotated with STRING * fix variable name * Should compare LIBRARY markers
This commit is contained in:
@@ -316,7 +316,7 @@ def main():
|
||||
parser.read_lines(srcfile)
|
||||
|
||||
for fun in parser.functions:
|
||||
if fun.is_stub:
|
||||
if fun.should_skip():
|
||||
continue
|
||||
|
||||
if fun.module != basename:
|
||||
@@ -330,7 +330,7 @@ def main():
|
||||
else:
|
||||
continue
|
||||
|
||||
if fun.lookup_by_name:
|
||||
if fun.is_nameref():
|
||||
recinfo = syminfo.get_recompiled_address_from_name(fun.name)
|
||||
if not recinfo:
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user