Skip to content

Commit

Permalink
add Perl_init_named_cv() functiom
Browse files Browse the repository at this point in the history
This moves a block of code out from perly.y into its own function,
because it will shortly be needed in more than one place.

Should be no functional changes.
  • Loading branch information
iabyn committed Feb 26, 2018
1 parent 9fa1876 commit 3d8071e
Show file tree
Hide file tree
Showing 8 changed files with 284 additions and 278 deletions.
1 change: 1 addition & 0 deletions embed.fnc
Original file line number Diff line number Diff line change
Expand Up @@ -1512,6 +1512,7 @@ Anp |Signal_t |csighandler |int sig
#endif
Ap |SV** |stack_grow |NN SV** sp|NN SV** p|SSize_t n
Ap |I32 |start_subparse |I32 is_format|U32 flags
Xp |void |init_named_cv |NN CV *cv|NN OP *nameop
: Used in pp_ctl.c
p |void |sub_crush_depth|NN CV* cv
Amd |bool |sv_2bool |NN SV *const sv
Expand Down
1 change: 1 addition & 0 deletions embed.h
Original file line number Diff line number Diff line change
Expand Up @@ -1277,6 +1277,7 @@
#define init_argv_symbols(a,b) Perl_init_argv_symbols(aTHX_ a,b)
#define init_constants() Perl_init_constants(aTHX)
#define init_debugger() Perl_init_debugger(aTHX)
#define init_named_cv(a,b) Perl_init_named_cv(aTHX_ a,b)
#define invert(a) Perl_invert(aTHX_ a)
#define io_close(a,b,c,d) Perl_io_close(aTHX_ a,b,c,d)
#define isinfnansv(a) Perl_isinfnansv(aTHX_ a)
Expand Down
Loading

0 comments on commit 3d8071e

Please sign in to comment.