This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
embed.fnc: Mark moreswitches as Core only
authorKarl Williamson <khw@cpan.org>
Wed, 22 Jul 2020 11:46:35 +0000 (05:46 -0600)
committerKarl Williamson <khw@cpan.org>
Sun, 20 Dec 2020 16:28:07 +0000 (09:28 -0700)
This is an internal function used to parse command line options; there
are no cpan uses.

embed.fnc

index 425ff7a..967def7 100644 (file)
--- a/embed.fnc
+++ b/embed.fnc
@@ -1392,7 +1392,7 @@ S |void   |move_proto_attr|NN OP **proto|NN OP **attrs \
 #endif
 : Used in op.c and pp_sys.c
 p      |int    |mode_from_discipline|NULLOK const char* s|STRLEN len
-Ap     |const char*    |moreswitches   |NN const char* s
+Cp     |const char*    |moreswitches   |NN const char* s
 Apd    |NV     |my_atof        |NN const char *s
 ATdpR  |NV     |my_strtod      |NN const char * const s|NULLOK char ** e
 Aprd   |void   |my_exit        |U32 status