This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e10c181
)
Perl_scalarvoid(): add comment saying what it does
author
David Mitchell
<davem@iabyn.com>
Wed, 29 May 2019 08:49:19 +0000
(09:49 +0100)
committer
David Mitchell
<davem@iabyn.com>
Mon, 24 Jun 2019 10:40:07 +0000
(11:40 +0100)
It applies void context, which isn't all that obvious just from the
name.
op.c
patch
|
blob
|
blame
|
history
diff --git
a/op.c
b/op.c
index
f76087a
..
25f1faa
100644
(file)
--- a/
op.c
+++ b/
op.c
@@
-1962,6
+1962,8
@@
Perl_scalar(pTHX_ OP *o)
}
+/* apply void context to the optree arg */
+
OP *
Perl_scalarvoid(pTHX_ OP *arg)
{