[master] 6411bab Fold generated lines

Poul-Henning Kamp phk at FreeBSD.org
Sun May 28 09:18:06 CEST 2017


commit 6411bab3cdcfa075e1e76ad2bba5d85f8f3770ca
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Sat May 27 20:52:33 2017 +0000

    Fold generated lines

diff --git a/lib/libvcc/vsctool.py b/lib/libvcc/vsctool.py
index ee5432b..13f7c01 100644
--- a/lib/libvcc/vsctool.py
+++ b/lib/libvcc/vsctool.py
@@ -166,8 +166,8 @@ class vscset(object):
 		for i in self.mbrs:
 			fo.write("_Static_assert(offsetof(" + self.struct)
 			fo.write(", " + i.arg + ")")
-			fo.write(" == %d," % (i.param["index"] - 8))
-			fo.write(' "VSC element offset is wrong");\n')
+			fo.write(" == %d,\n" % (i.param["index"] - 8))
+			fo.write('    "VSC element offset is wrong");\n')
 
 		self.emit_json(fo)
 



More information about the varnish-commit mailing list