]> granicus.if.org Git - postgis/commitdiff
support multiline function signatures at the parsing stage too...
authorSandro Santilli <strk@keybit.net>
Fri, 23 Dec 2011 17:33:13 +0000 (17:33 +0000)
committerSandro Santilli <strk@keybit.net>
Fri, 23 Dec 2011 17:33:13 +0000 (17:33 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8535 b70326c6-7e19-0410-871a-916f4a2858ee

utils/create_undef.pl

index da726a46b4ebf52639ceca007607b110656e54f8..323c35a015bad6ddeb858b4275ed973e99ada4ae 100755 (executable)
@@ -201,7 +201,7 @@ print "-- Drop all functions except " . (keys %type_funcs) . " needed for type d
 
 foreach my $fn (@funcs)
 {
-       if ($fn =~ /.* function ([^(]+)\((.*)\)/i )
+       if ($fn =~ /.* function ([^(]+)\((.*)\)/is ) # can be multiline
        {
                my $fn_nm = $1;
                my $fn_arg = $2;