@@ 8277-8279 (lines=3) @@ | ||
8274 | ||
8275 | if( isset($param['variadic']) ){ |
|
8276 | $varargs = array(); |
|
8277 | for ($j = $argIndex; $j < $argsLength; $j++) { |
|
8278 | $varargs[] = $args[$j]['value']->compile($env); |
|
8279 | } |
|
8280 | $expression = new Less_Tree_Expression($varargs); |
|
8281 | array_unshift($frame->rules, new Less_Tree_Rule($param['name'], $expression->compile($env))); |
|
8282 | }else{ |
|
@@ 8306-8308 (lines=3) @@ | ||
8303 | } |
|
8304 | ||
8305 | if ( isset($param['variadic']) && $args) { |
|
8306 | for ($j = $argIndex; $j < $argsLength; $j++) { |
|
8307 | $evaldArguments[$j] = $args[$j]['value']->compile($env); |
|
8308 | } |
|
8309 | } |
|
8310 | $argIndex++; |
|
8311 | } |