Cosmetics

This commit is contained in:
Bertrand Songis
2015-08-01 21:09:06 +02:00
parent bf89c53f33
commit 9546843bc2
-2
View File
@@ -13,8 +13,6 @@ for filename in sys.argv[1:]:
line = line.strip()
if line.startswith("#ifndef "):
guard = line[8:]
if guard == newguard:
break
if lines[i+1].strip() == "#define %s" % guard:
print filename, ":", guard, "=>", newguard
lines[i] = "#ifndef %s\n" % newguard