[master] b2e4dc3 Don't capture function typedefs in generate.py

Dridi Boukelmoune dridi.boukelmoune at gmail.com
Wed Feb 24 15:27:03 CET 2016


commit b2e4dc36960cc881d51b6556120cb0baf92cddbf
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 2f9dd10..44b8b2b 100755
--- a/lib/libvcc/generate.py
+++ b/lib/libvcc/generate.py
@@ -763,6 +763,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