mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-03-21 17:24:42 -05:00
Don't traverse includes that are commented out.
This commit is contained in:
parent
90a3365a80
commit
0b156e7bd6
|
|
@ -12,6 +12,9 @@ includes = set()
|
|||
|
||||
def scan_file(filename):
|
||||
for line in open(filename):
|
||||
if 'INC' not in line:
|
||||
continue
|
||||
line = line.split(';')[0]
|
||||
if 'INCLUDE' in line:
|
||||
include = line.split('"')[1]
|
||||
includes.add(include)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user