Remove semicolons from end of lines in Python code. (nw)

This commit is contained in:
Mike Naberezny 2015-07-03 14:13:01 -07:00
parent 563b496792
commit a279d6e804

View File

@ -271,43 +271,42 @@ if sys.argv[3]=='drivers':
if sys.argv[3]=='target':
for line in components:
sys.stdout.write("%s\n" % line)
sys.stdout.write('\n');
sys.stdout.write('function createProjects_mame_%s(_target, _subtarget)\n' % sys.argv[4]);
sys.stdout.write(' project ("mame_%s")\n' % sys.argv[4]);
sys.stdout.write(' targetsubdir(_target .."_" .. _subtarget)\n');
sys.stdout.write(' kind (LIBTYPE)\n');
sys.stdout.write(' uuid (os.uuid("drv-mame-%s"))\n' % sys.argv[4]);
sys.stdout.write(' \n');
sys.stdout.write(' options {\n');
sys.stdout.write(' "ForceCPP",\n');
sys.stdout.write(' }\n');
sys.stdout.write(' \n');
sys.stdout.write(' includedirs {\n');
sys.stdout.write(' MAME_DIR .. "src/osd",\n');
sys.stdout.write(' MAME_DIR .. "src/emu",\n');
sys.stdout.write(' MAME_DIR .. "src/mame",\n');
sys.stdout.write(' MAME_DIR .. "src/mess",\n');
sys.stdout.write(' MAME_DIR .. "src/lib",\n');
sys.stdout.write(' MAME_DIR .. "src/lib/util",\n');
sys.stdout.write(' MAME_DIR .. "3rdparty",\n');
sys.stdout.write(' GEN_DIR .. "mame/layout",\n');
sys.stdout.write(' GEN_DIR .. "mess/layout",\n');
sys.stdout.write(' }\n');
sys.stdout.write(' if _OPTIONS["with-bundled-zlib"] then\n');
sys.stdout.write(' includedirs {\n');
sys.stdout.write(' MAME_DIR .. "3rdparty/zlib",\n');
sys.stdout.write(' }\n');
sys.stdout.write(' end\n');
sys.stdout.write('\n');
sys.stdout.write(' files{\n');
sys.stdout.write('\n')
sys.stdout.write('function createProjects_mame_%s(_target, _subtarget)\n' % sys.argv[4])
sys.stdout.write(' project ("mame_%s")\n' % sys.argv[4])
sys.stdout.write(' targetsubdir(_target .."_" .. _subtarget)\n')
sys.stdout.write(' kind (LIBTYPE)\n')
sys.stdout.write(' uuid (os.uuid("drv-mame-%s"))\n' % sys.argv[4])
sys.stdout.write(' \n')
sys.stdout.write(' options {\n')
sys.stdout.write(' "ForceCPP",\n')
sys.stdout.write(' }\n')
sys.stdout.write(' \n')
sys.stdout.write(' includedirs {\n')
sys.stdout.write(' MAME_DIR .. "src/osd",\n')
sys.stdout.write(' MAME_DIR .. "src/emu",\n')
sys.stdout.write(' MAME_DIR .. "src/mame",\n')
sys.stdout.write(' MAME_DIR .. "src/mess",\n')
sys.stdout.write(' MAME_DIR .. "src/lib",\n')
sys.stdout.write(' MAME_DIR .. "src/lib/util",\n')
sys.stdout.write(' MAME_DIR .. "3rdparty",\n')
sys.stdout.write(' GEN_DIR .. "mame/layout",\n')
sys.stdout.write(' GEN_DIR .. "mess/layout",\n')
sys.stdout.write(' }\n')
sys.stdout.write(' if _OPTIONS["with-bundled-zlib"] then\n')
sys.stdout.write(' includedirs {\n')
sys.stdout.write(' MAME_DIR .. "3rdparty/zlib",\n')
sys.stdout.write(' }\n')
sys.stdout.write(' end\n')
sys.stdout.write('\n')
sys.stdout.write(' files{\n')
for line in deps_files_included:
sys.stdout.write(' MAME_DIR .. "%s",\n' % line);
sys.stdout.write(' }\n');
sys.stdout.write('end\n');
sys.stdout.write('\n');
sys.stdout.write('function linkProjects_mame_%s(_target, _subtarget)\n' % sys.argv[4]);
sys.stdout.write(' links {\n');
sys.stdout.write(' "mame_%s",\n' % sys.argv[4]);
sys.stdout.write(' }\n');
sys.stdout.write('end\n');
sys.stdout.write(' MAME_DIR .. "%s",\n' % line)
sys.stdout.write(' }\n')
sys.stdout.write('end\n')
sys.stdout.write('\n')
sys.stdout.write('function linkProjects_mame_%s(_target, _subtarget)\n' % sys.argv[4])
sys.stdout.write(' links {\n')
sys.stdout.write(' "mame_%s",\n' % sys.argv[4])
sys.stdout.write(' }\n')
sys.stdout.write('end\n')