summaryrefslogtreecommitdiff
path: root/proto.h
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2020-06-08 10:13:35 +1000
committerTony Cook <tony@develop-help.com>2021-01-04 11:28:58 +1100
commit0f2beabb08039ae97dbc9dc54dff894c14b6e38b (patch)
treea0fc936631642074e16d9c1e09356c15065f9966 /proto.h
parentded7c7ec0c875ea7bd53811b9db312f3b2e85a95 (diff)
downloadperl-0f2beabb08039ae97dbc9dc54dff894c14b6e38b.tar.gz
add a bareword_filehandles feature, which is enabled by default
This disables use of bareword filehandles except for the built-in handles
Diffstat (limited to 'proto.h')
-rw-r--r--proto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/proto.h b/proto.h
index 46e69cc206..333dde15e6 100644
--- a/proto.h
+++ b/proto.h
@@ -2533,6 +2533,9 @@ PERL_CALLCONV char* Perl_ninstr(const char* big, const char* bigend, const char*
#define PERL_ARGS_ASSERT_NINSTR \
assert(big); assert(bigend); assert(little); assert(lend)
+PERL_CALLCONV void Perl_no_bareword_filehandle(pTHX_ const char *fhname);
+#define PERL_ARGS_ASSERT_NO_BAREWORD_FILEHANDLE \
+ assert(fhname)
PERL_CALLCONV_NO_RET void Perl_noperl_die(const char* pat, ...)
__attribute__noreturn__
__attribute__format__(__printf__,1,2);