pike.git/
src/
docode.c
Branch:
Tag:
Non-build tags
All tags
No tags
2014-12-04
2014-12-04 19:27:07 by Per Hedbor <ph@opera.com>
7d8f64af673d7ccbc6f63412b75547a149399350 (
4
lines) (+
3
/-
1
)
[
Show
|
Annotate
]
Branch:
bill/master_archive_support
Limit lvalue-creation for a = function(a,...) to the case
when there is at least one more argument.
1352:
(CAAR(n)->u.sval.u.efun->function != f_filter)) { /* efuns typically don't access object variables. */ node *args = CDAR(n);
-
if (args) {
+
if (args
&& count_args(args
)
> 1)
+
{
node **arg = my_get_arg(&args, 0); if (arg && node_is_eq(CDR(n), *arg) && !(args->tree_info & OPT_ASSIGNMENT)) {