Skip to content

Commit caa5a36

Browse files
author
Branislav Zahradník
committed
fixup! [parser] package - deduplicate coupled call sequence
1 parent fe52a7b commit caa5a36

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

embed.fnc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2559,7 +2559,7 @@ px |OP * |op_unscope |NULLOK OP *o
25592559
ARdpx |OP * |op_wrap_finally|NN OP *block \
25602560
|NN OP *finally
25612561
: Used in perly.y
2562-
p |void |package |NN OP *o \
2562+
pd |void |package |NN OP *o \
25632563
|NULLOK OP *v
25642564
Adp |void |packlist |NN SV *cat \
25652565
|NN const char *pat \

op.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8242,7 +8242,7 @@ Perl_newPVOP(pTHX_ I32 type, I32 flags, char *pv)
82428242
}
82438243

82448244
STATIC void
8245-
S_package(pTHX_ OP *o)
8245+
S_set_package_name(pTHX_ OP *o)
82468246
{
82478247
SV *const sv = cSVOPo->op_sv;
82488248

@@ -8260,7 +8260,7 @@ S_package(pTHX_ OP *o)
82608260
}
82618261

82628262
STATIC void
8263-
S_package_version( pTHX_ OP *v )
8263+
S_set_package_version( pTHX_ OP *v )
82648264
{
82658265
U32 savehints = PL_hints;
82668266

@@ -8285,9 +8285,9 @@ Perl_package (pTHX_ OP *o, OP *v)
82858285
{
82868286
PERL_ARGS_ASSERT_PACKAGE;
82878287

8288-
S_package (aTHX_ o);
8288+
S_set_package_name (aTHX_ o);
82898289
if (v)
8290-
S_package_version (aTHX_ v);
8290+
S_set_package_version (aTHX_ v);
82918291
}
82928292

82938293
/* Extract the first two components of a "version" object as two 8bit integers

0 commit comments

Comments
 (0)