diff options
author | Yves Orton <demerphq@gmail.com> | 2022-03-11 09:35:00 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-04-29 09:09:53 +0200 |
commit | 53175c6044c7d25c802103a5b633716908e9ad91 (patch) | |
tree | 69a10114caaeb3d159889f08c36633bae342d7a8 /cop.h | |
parent | 638721ede9195d09472125f1734858156081a25e (diff) | |
download | perl-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 'cop.h')
-rw-r--r-- | cop.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1276,10 +1276,10 @@ typedef struct stackinfo PERL_SI; #define cxstack_max (PL_curstackinfo->si_cxmax) #ifdef DEBUGGING -# define SET_MARK_OFFSET \ +# define SET_MARK_OFFSET \ PL_curstackinfo->si_markoff = PL_markstack_ptr - PL_markstack #else -# define SET_MARK_OFFSET NOOP +# define SET_MARK_OFFSET NOOP #endif #if defined DEBUGGING && !defined DEBUGGING_RE_ONLY |