From: Michal Vaner Date: Sun, 15 Feb 2009 10:48:29 +0000 (+0100) Subject: doc. system: detect function pointer variables X-Git-Tag: holmes-import~79 X-Git-Url: http://mj.ucw.cz/gitweb/?a=commitdiff_plain;h=7603b94e10b120a1aed22f5c95f054a128554dd8;p=libucw.git doc. system: detect function pointer variables --- diff --git a/build/doc-extract b/build/doc-extract index 8d7325c7..6be99b45 100755 --- a/build/doc-extract +++ b/build/doc-extract @@ -42,6 +42,8 @@ sub detect( $ ) { } # typedef type (*function_type)(params); return( 'type', 1, $2, $_ ) if /^\s*typedef[^()]+?(\(\s*?\*\s*?)?(\w+)(\s*\))?\s*\(.*\)/; + # type (*function_var)(params); + return( 'var', 1, $1, $_ ) if /^.*?\(\*(\w+)\)\(.*\)/; # type function(name); return( 'fun', 1, $2, $1 ) if /^(.*?(\w+)\([^{]*\)[^{]*)/; # typedef something name;