summaryrefslogtreecommitdiff
path: root/PC/python33gen.py
diff options
context:
space:
mode:
Diffstat (limited to 'PC/python33gen.py')
-rw-r--r--PC/python33gen.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/PC/python33gen.py b/PC/python33gen.py
index a85f417671..21b9f56982 100644
--- a/PC/python33gen.py
+++ b/PC/python33gen.py
@@ -7,8 +7,10 @@ out.write('LIBRARY "python33"\n')
out.write('EXPORTS\n')
inp = open("python3.def")
-inp.readline()
line = inp.readline()
+while line.strip().startswith(';'):
+ line = inp.readline()
+line = inp.readline() # LIBRARY
assert line.strip()=='EXPORTS'
for line in inp: