summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2022-03-11 09:35:00 +0100
committerYves Orton <demerphq@gmail.com>2023-04-29 09:09:53 +0200
commit53175c6044c7d25c802103a5b633716908e9ad91 (patch)
tree69a10114caaeb3d159889f08c36633bae342d7a8 /regexec.c
parent638721ede9195d09472125f1734858156081a25e (diff)
downloadperl-53175c6044c7d25c802103a5b633716908e9ad91.tar.gz
replace "define\t" with "define " in most "normal" core files.
The main exceptions being dist/, ext/, and Configure related files, which will be updated in a subsequent commit. Files in the cpan/ directory are also omitted as they are not owned by the core. '#define' has seven characters, so following it with a \t makes it look like '#define ' when it is not, which then frustrates attempts to find where a given define is. If you *know* then you do a git grep -P 'define\s+WHATEVER' but if don't or you forget, you can get very confused trying to find where a given define is located. This fixes all such cases so they actually are 'define WHATEVER' instead. If this patch is getting in your way with blame analysis then view it with the -w option to blame.
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index 86d170c49e..e96b622ab7 100644
--- a/regexec.c
+++ b/regexec.c
@@ -120,7 +120,7 @@ static const char non_utf8_target_but_utf8_required[]
} STMT_END
#ifndef STATIC
-#define STATIC static
+#define STATIC static
#endif
/*