3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-06 14:13:23 +00:00

Python 3.x issues

This commit is contained in:
Christoph M. Wintersteiger 2015-10-28 22:40:07 +00:00
parent ced04bc15c
commit eb28ee8999
3 changed files with 15 additions and 15 deletions

View file

@ -10,7 +10,7 @@ endif = re.compile("#endif /\* \_(.*)\_H\_")
def fix_hdr(file):
print file
print(file)
tmp = "%s.tmp" % file
ins = open(file)
ous = open(tmp,'w')
@ -29,7 +29,7 @@ def fix_hdr(file):
continue
m = ifndef.search(line)
if m:
print m.group(1)
print(m.group(1))
ous.write("#ifndef ")
ous.write(m.group(1))
ous.write("_H_\n")