[4.1] 214db16 Don't capture function typedefs in generate.py

Lasse Karstensen lkarsten at varnish-software.com
Thu Feb 25 15:11:14 CET 2016


commit 214db1648ead7148e3f7f2ff38db4141ed30a0f4
Author: Dridi Boukelmoune <dridi.boukelmoune at gmail.com>
Date:   Wed Feb 24 11:35:16 2016 +0100

    Don't capture function typedefs in generate.py

diff --git a/lib/libvcc/generate.py b/lib/libvcc/generate.py
index a54eaa2..7f2b50b 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -762,6 +762,8 @@ for i in fi:
 		continue
 	if j[-1][-1] != ";":
 		continue
+	if j[-1][-2] == ")":
+		continue
 	if j[-1][:4] != "VCL_":
 		continue
 	d = " ".join(j[1:-1])



More information about the varnish-commit mailing list