pike.git/
src/
docode.c
Branch:
Tag:
Non-build tags
All tags
No tags
2014-08-11
2014-08-11 14:26:25 by Per Hedbor <ph@opera.com>
602073f47a0b385c009da4954a57913f6d755e4b (
4
lines) (+
3
/-
1
)
[
Show
|
Annotate
]
Branch:
8.0
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)) {