fix makedep when encoutering GAMEL (nw)

This commit is contained in:
Olivier Galibert 2016-02-23 19:26:36 +01:00
parent 60172c6387
commit 9740102e64

View File

@ -203,8 +203,7 @@ def parse_file_for_drivers(root, srcfile):
content = content.strip()
if len(content)>0:
if content.startswith('COMP') or content.startswith('CONS') or content.startswith('GAME') or content.startswith('SYST') or content.startswith('GAMEL'):
name = content[4:]
splitname = name.rsplit(',', 14)
splitname = content.split(',', 3)
if len(splitname)>1:
drivers.append(splitname[1])
return 0