diff options
author | Todd Rinaldo <toddr@cpan.org> | 2020-09-13 13:05:29 -0500 |
---|---|---|
committer | Sawyer X <xsawyerx@cpan.org> | 2020-09-15 17:37:44 +0300 |
commit | b1cc9c03acf2fd5c705634f9c3628c5721e80afa (patch) | |
tree | 0122b18c82c66e33546493f195928bfe26319aab /perl.h | |
parent | 19aaf9297b251db12d787e0eb31f06bfadc56856 (diff) | |
download | perl-b1cc9c03acf2fd5c705634f9c3628c5721e80afa.tar.gz |
Non-Configure code required to implement a strict by default option
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -5346,6 +5346,16 @@ typedef enum { #define HINT_SORT_STABLE 0x00000100 /* sort styles */ #define HINT_SORT_UNSTABLE 0x00000200 +#define HINT_ALL_STRICT HINT_STRICT_REFS \ + | HINT_STRICT_SUBS \ + | HINT_STRICT_VARS + +#ifdef USE_STRICT_BY_DEFAULT +#define HINTS_DEFAULT HINT_ALL_STRICT +#else +#define HINTS_DEFAULT 0 +#endif + /* flags for PL_sawampersand */ #define SAWAMPERSAND_LEFT 1 /* saw $` */ |