]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Deal with '# define' for indent -ppi1
authorZoltan Fridrich <zfridric@redhat.com>
Fri, 27 Jan 2023 10:08:05 +0000 (11:08 +0100)
committerZoltan Fridrich <zfridric@redhat.com>
Fri, 27 Jan 2023 13:48:43 +0000 (14:48 +0100)
Co-authored-by: Simon Josefsson <simon@josefsson.org>
Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>
doc/scripts/getfuncs.pl

index d9e7404e0d73a527c5e090eeb8ec170bf014a208..5904de87151f0912c5a98282da48d6b901b783a6 100755 (executable)
@@ -85,7 +85,7 @@ while ($line=<STDIN>) {
       next if ($line =~ m/\}/);
       $state = 4;
       next;
-    } elsif ($line =~ m/^\s*#define/) {
+    } elsif ($line =~ m/^\s*#\s*define/) {
       next if ($line !~ m/\\$/);
       $state = 5;
       next;