projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
9a48f95
)
Fix botch with G_NOARGS; PUSHMARK *is* required
Chip Salzenberg [Fri, 21 Mar 1997 02:44:56 +0000 (14:44 +1200)]
perl.c
patch
|
blob
|
blame
|
history
diff --git
a/perl.c
b/perl.c
index
dfda39f
..
fd39779
100644
(file)
--- a/
perl.c
+++ b/
perl.c
@@
-979,10
+979,7
@@
I32 flags; /* See G_* flags in cop.h */
}
Zero(&myop, 1, LOGOP);
- if (flags & G_NOARGS) {
- PUSHMARK(sp);
- }
- else
+ if (!(flags & G_NOARGS))
myop.op_flags |= OPf_STACKED;
myop.op_next = Nullop;
myop.op_flags |= OPf_KNOW;