summaryrefslogtreecommitdiff
path: root/warnings.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2017-12-18 15:12:17 -0700
committerKarl Williamson <khw@cpan.org>2017-12-24 17:20:45 -0700
commit0d76344ba3b6c2a839f8199ff1a511d13394ca09 (patch)
treec66a6c8a5fc957a0ee6d1e8da108121cb20d50ec /warnings.h
parent463b4a67b66f3d1246e0d870a3c112f85e1eae86 (diff)
downloadperl-0d76344ba3b6c2a839f8199ff1a511d13394ca09.tar.gz
Add warning for script runs being experimental
This will be used in later commits.
Diffstat (limited to 'warnings.h')
-rw-r--r--warnings.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/warnings.h b/warnings.h
index 9ea5c8fb32..bde0ad71cd 100644
--- a/warnings.h
+++ b/warnings.h
@@ -117,11 +117,12 @@
/* Warnings Categories added in Perl 5.027 */
-#define WARN_SHADOW 67
+#define WARN_EXPERIMENTAL__SCRIPT_RUN 67
+#define WARN_SHADOW 68
-#define WARNsize 17
-#define WARN_ALLstring "\125\125\125\125\125\125\125\125\125\125\125\125\125\125\125\125\125"
-#define WARN_NONEstring "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
+#define WARNsize 18
+#define WARN_ALLstring "\125\125\125\125\125\125\125\125\125\125\125\125\125\125\125\125\125\125"
+#define WARN_NONEstring "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"
#define isLEXWARN_on \
cBOOL(PL_curcop && PL_curcop->cop_warnings != pWARN_STD)