Changed 'vcxproj_dependencies.py' script criteria to allow zero-length pretext headers in multiple-argument hints [skip ci]

This commit is contained in:
Uleat 2019-07-22 23:27:38 -04:00
parent 72ae1b0e0b
commit f5da6e18fc

View File

@ -703,6 +703,8 @@ def is_hint_in_path(hint, path):
elif (joined_index == -1 and not pretext_index == -1) or\
(not joined_index == -1 and not pretext_index == -1 and joined_index > pretext_index):
partial_hints = hint.split('&&', 1)
found_index = 0
if not partial_hints[0] == '':
found_index = path.find(partial_hints[0])
if found_index == -1:
return False