Commit 4ef7a77f authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Include python files in white-space sweep

parent 5a83d477
......@@ -572,7 +572,7 @@ def emit_file(fo, fn):
w = 66 # Width of lines, after white space prefix
maxlen = 10240 # Max length of string literal
x = 0
x = 0
l = 0
fo.write("\n\t/* %s */\n\n" % fn)
for c in fc:
......@@ -600,7 +600,7 @@ def emit_file(fo, fn):
fo.write(d + "\"\n")
x = 0
continue
fo.write(d)
x += len(d)
l += len(d)
......@@ -663,7 +663,7 @@ for i in returns:
vcls.append(i[0])
for j in i[1]:
rets[j] = True
#######################################################################
fo = open(buildroot + "/include/vcl_returns.h", "w")
......@@ -782,7 +782,7 @@ def restrict(fo, spec):
n += 1
fo.write(p + "VCL_MET_" + j.upper())
p = " | "
fo.write(",\n")
#######################################################################
......
......@@ -196,7 +196,7 @@ while True:
while -1 == l.find(")"):
l1 = nextline()
if l1 == "":
if l1 == "":
raise Exception("End Of Input looking for ')'")
l = l + l1
......@@ -229,7 +229,7 @@ while True:
elif tq != None:
raise Exception(
"Argument type '%s' cannot be qualified with {...}" % at)
vargs.append(at)
do_func(fname, rt_type, args, vargs)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment